6 -moz-column-width:
100px;
7 -webkit-column-width:
100px;
14 display: inline-block;
32 <p> Bug
<a href=
"http://webkit.org/b/34875">34875</a>: offsetLeft broken within CSS3 columns
</p>
33 <p>There should not be any red spans visible.
</p>
35 This test checks that offsetLeft and offsetTop return correct values when used
36 on elements contained in multiple columns. We put a number of red spans (of
37 arbitrary size) in a multi-column div. The script at the end creates an
38 identically sized green span for each of the red spans, and places it at the
39 offsetLeft and offsetTop of the red span, using absolute position. This ensures
40 that the green span completely covers the red span.
43 Note: This is the test reference file. Therefore, there is no script and
44 all the spans are set to green in the css.
48 <span class=
"size1"></span>
49 <span class=
"size2"></span>
50 <span class=
"size2"></span>
51 <span class=
"size3"></span>
52 <span class=
"size2"></span>
53 <span class=
"size1"></span>
56 <span class=
"size2"></span>
57 <span class=
"size1"></span>
58 <span class=
"size3"></span>
59 <span class=
"size3"></span>
60 <span class=
"size2"></span>
61 <span class=
"size3"></span>
62 <span class=
"size1"></span>
63 <span class=
"size2"></span>
64 <span class=
"size2"></span>
65 <span class=
"size2"></span>
66 <span class=
"size3"></span>
67 <span class=
"size2"></span>
68 <span class=
"size3"></span>
69 <span class=
"size1"></span>
70 <span class=
"size3"></span>
71 <span class=
"size3"></span>
72 <span class=
"size3"></span>
73 <span class=
"size2"></span>
74 <span class=
"size3"></span>
77 <span class=
"size3"></span>
78 <span class=
"size2"></span>
79 <span class=
"size1"></span>
80 <span class=
"size1"></span>
81 <span class=
"size2"></span>
82 <span class=
"size2"></span>
84 <span class=
"size2"></span>
85 <span class=
"size1"></span>
86 <span class=
"size3"></span>
87 <span class=
"size3"></span>
88 <span class=
"size1"></span>
89 <span class=
"size3"></span>
90 <span class=
"size3"></span>
91 <span class=
"size2"></span>
93 <span class=
"size2"></span>
94 <span class=
"size3"></span>
95 <span class=
"size1"></span>
96 <span class=
"size3"></span>
97 <span class=
"size3"></span>
98 <span class=
"size2"></span>
99 <span class=
"size1"></span>
100 <span class=
"size1"></span>
101 <span class=
"size2"></span>
102 <span class=
"size2"></span>
103 <span class=
"size2"></span>
104 <span class=
"size1"></span>
105 <span class=
"size3"></span>
107 <span class=
"size3"></span>
108 <span class=
"size1"></span>
109 <span class=
"size3"></span>
110 <span class=
"size3"></span>
111 <span class=
"size2"></span>
112 <span class=
"size2"></span>
114 <span class=
"size3"></span>
115 <span class=
"size1"></span>
116 <span class=
"size3"></span>