Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(54)

Side by Side Diff: LayoutTests/fast/multicol/client-rects-expected.html

Issue 667693002: Convert fast/multicol/client-rects.html to reftest. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <style>
3 div.columns {
4 height: 50px;
5 width: 110px;
6 margin: 10px 0;
7 padding: 10px;
8 border: solid black;
9 font-family: Ahem;
10 font-size: 25px;
11 color: lightblue;
12 display: inline-block;
13 vertical-align: bottom;
14 position: relative;
15 }
16
17 .column {
18 position: absolute;
19 width: 50px;
20 }
21
22 .left { left: 10px; }
23 .right { right: 10px; }
24
25 .column > span {
26 background-color: lightblue;
27 display: block;
28 width: 25px;
29 height: 25px;
30 border: solid dodgerblue;
31 -webkit-box-sizing: border-box;
32 }
33
34 .special > .left > span {
35 margin-top: 40px;
36 height: 10px;
37 border: none;
38 }
39 .special > .right > span {
40 background-image: linear-gradient(white, white);
mstensho (USE GERRIT) 2014/10/20 20:01:46 I think the linear-gradient stuff here is too "wei
andersr 2014/10/21 06:45:49 Done.
41 background-size: 25px 10px;
42 background-repeat: no-repeat;
43 background-origin: border-box;
44 margin-top: -10px;
45 }
46 </style>
47 <p>
48 The blue borders should coincide with light blue squares, like this:
49 <span style="display: inline-block; background-color: lightblue; border: sol id dodgerblue; width: 19px; height: 19px;"></span>.
50 There should be none of this:
51 <span style="display: inline-block; background-color: lightblue; width: 25px ; height: 25px;"></span>
52 or this:
53 <span style="display: inline-block; border: solid dodgerblue; width: 19px; h eight: 19px;"></span>.
54 </p>
55 <div class="columns">
56 <div class="column left"><br><span></span></div>
57 <div class="column right"><span></span><span></span></div>
58 </div>
59 <div class="columns">
60 <div class="column left"><br><span></span></div>
61 <div class="column right"><span></span><span></span></div>
62 </div>
63 <div class="columns">
64 <div class="column left"><br><span></span></div>
65 <div class="column right"><span></span><span></span></div>
66 </div>
67 <div class="columns">
68 <div class="column left"></div>
69 <div class="column right"><span></span><span></span></div>
70 </div>
71 <div class="columns">
72 <div class="column right"><span></span></div>
73 </div>
74 <div class="columns">
75 <div class="column right"><span></span></div>
76 </div>
77 <p>
78 Except here, where the blue border should be around the bigger slice of the blue square, on the right.
79 </p>
80 <div class="columns special">
81 <div class="column left"><span></span></div>
82 <div class="column right"><span></span></div>
83 </div>
OLDNEW
« no previous file with comments | « LayoutTests/fast/multicol/client-rects.html ('k') | LayoutTests/platform/linux/fast/multicol/client-rects-expected.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698