3 <link href=
"resources/grid.css" rel=
"stylesheet">
7 grid-template-columns:
50px
100px;
8 grid-template-rows:
50px
100px;
11 /* Ensures that the grid container is the containing block of the absolutely positioned grid children. */
13 /* Ensures that the grid container is the containing block of the fixed positioned grid children. */
14 transform: translate(
10px,
20px);
30 <script src=
"../../resources/check-layout.js"></script>
31 <body onload=
"checkLayout('.grid')">
33 <p>This test checks that positioned items shouldn't take up space or otherwise participate in the layout of the grid.
</p>
35 <p>Absolutely positioned:
</p>
38 <div class=
"sizedToGridArea absolute autoRowAutoColumn"
39 data-offset-x=
"0" data-offset-y=
"0" data-expected-width=
"150" data-expected-height=
"150">
41 <div class=
"sizedToGridArea autoRowAutoColumn"
42 data-offset-x=
"0" data-offset-y=
"0" data-expected-width=
"50" data-expected-height=
"50">
47 <div class=
"sizedToGridArea absolute autoRowAutoColumn offsetLeft100"
48 data-offset-x=
"100" data-offset-y=
"0" data-expected-width=
"150" data-expected-height=
"150">
50 <div class=
"sizedToGridArea autoRowAutoColumn"
51 data-offset-x=
"0" data-offset-y=
"0" data-expected-width=
"50" data-expected-height=
"50">
56 <div class=
"sizedToGridArea autoRowAutoColumn"
57 data-offset-x=
"0" data-offset-y=
"0" data-expected-width=
"50" data-expected-height=
"50">
59 <div class=
"sizedToGridArea absolute autoRowAutoColumn"
60 data-offset-x=
"0" data-offset-y=
"0" data-expected-width=
"150" data-expected-height=
"150">
62 <div class=
"sizedToGridArea autoRowAutoColumn"
63 data-offset-x=
"50" data-offset-y=
"0" data-expected-width=
"100" data-expected-height=
"50">
68 <div class=
"sizedToGridArea autoRowAutoColumn"
69 data-offset-x=
"0" data-offset-y=
"0" data-expected-width=
"50" data-expected-height=
"50">
71 <div class=
"sizedToGridArea absolute autoRowAutoColumn offsetLeft100"
72 data-offset-x=
"100" data-offset-y=
"0" data-expected-width=
"150" data-expected-height=
"150">
74 <div class=
"sizedToGridArea autoRowAutoColumn"
75 data-offset-x=
"50" data-offset-y=
"0" data-expected-width=
"100" data-expected-height=
"50">
80 <div class=
"sizedToGridArea autoRowAutoColumn"
81 data-offset-x=
"0" data-offset-y=
"0" data-expected-width=
"50" data-expected-height=
"50">
83 <div class=
"sizedToGridArea autoRowAutoColumn"
84 data-offset-x=
"50" data-offset-y=
"0" data-expected-width=
"100" data-expected-height=
"50">
85 <div class=
"sizedToGridArea absolute autoRowAutoColumn"
86 data-offset-x=
"50" data-offset-y=
"0" data-expected-width=
"150" data-expected-height=
"150">
89 <div class=
"sizedToGridArea autoRowAutoColumn"
90 data-offset-x=
"0" data-offset-y=
"50" data-expected-width=
"50" data-expected-height=
"100">
95 <div class=
"sizedToGridArea autoRowAutoColumn"
96 data-offset-x=
"0" data-offset-y=
"0" data-expected-width=
"50" data-expected-height=
"50">
98 <div class=
"sizedToGridArea autoRowAutoColumn"
99 data-offset-x=
"50" data-offset-y=
"0" data-expected-width=
"100" data-expected-height=
"50">
100 <div class=
"sizedToGridArea absolute autoRowAutoColumn offsetLeft100"
101 data-offset-x=
"100" data-offset-y=
"0" data-expected-width=
"150" data-expected-height=
"150">
104 <div class=
"sizedToGridArea autoRowAutoColumn"
105 data-offset-x=
"0" data-offset-y=
"50" data-expected-width=
"50" data-expected-height=
"100">
109 <p>Fixed positioned:
</p>
112 <div class=
"sizedToGridArea fixed autoRowAutoColumn"
113 data-offset-x=
"0" data-offset-y=
"0" data-expected-width=
"150" data-expected-height=
"150">
115 <div class=
"sizedToGridArea autoRowAutoColumn"
116 data-offset-x=
"0" data-offset-y=
"0" data-expected-width=
"50" data-expected-height=
"50">
121 <div class=
"sizedToGridArea fixed autoRowAutoColumn offsetLeft100"
122 data-offset-x=
"100" data-offset-y=
"0" data-expected-width=
"150" data-expected-height=
"150">
124 <div class=
"sizedToGridArea autoRowAutoColumn"
125 data-offset-x=
"0" data-offset-y=
"0" data-expected-width=
"50" data-expected-height=
"50">
130 <div class=
"sizedToGridArea autoRowAutoColumn"
131 data-offset-x=
"0" data-offset-y=
"0" data-expected-width=
"50" data-expected-height=
"50">
133 <div class=
"sizedToGridArea fixed autoRowAutoColumn"
134 data-offset-x=
"0" data-offset-y=
"0" data-expected-width=
"150" data-expected-height=
"150">
136 <div class=
"sizedToGridArea autoRowAutoColumn"
137 data-offset-x=
"50" data-offset-y=
"0" data-expected-width=
"100" data-expected-height=
"50">
142 <div class=
"sizedToGridArea autoRowAutoColumn"
143 data-offset-x=
"0" data-offset-y=
"0" data-expected-width=
"50" data-expected-height=
"50">
145 <div class=
"sizedToGridArea fixed autoRowAutoColumn offsetLeft100"
146 data-offset-x=
"100" data-offset-y=
"0" data-expected-width=
"150" data-expected-height=
"150">
148 <div class=
"sizedToGridArea autoRowAutoColumn"
149 data-offset-x=
"50" data-offset-y=
"0" data-expected-width=
"100" data-expected-height=
"50">
154 <div class=
"sizedToGridArea autoRowAutoColumn"
155 data-offset-x=
"0" data-offset-y=
"0" data-expected-width=
"50" data-expected-height=
"50">
157 <div class=
"sizedToGridArea autoRowAutoColumn"
158 data-offset-x=
"50" data-offset-y=
"0" data-expected-width=
"100" data-expected-height=
"50">
159 <div class=
"sizedToGridArea fixed autoRowAutoColumn"
160 data-offset-x=
"50" data-offset-y=
"0" data-expected-width=
"150" data-expected-height=
"150">
163 <div class=
"sizedToGridArea autoRowAutoColumn"
164 data-offset-x=
"0" data-offset-y=
"50" data-expected-width=
"50" data-expected-height=
"100">
169 <div class=
"sizedToGridArea autoRowAutoColumn"
170 data-offset-x=
"0" data-offset-y=
"0" data-expected-width=
"50" data-expected-height=
"50">
172 <div class=
"sizedToGridArea autoRowAutoColumn"
173 data-offset-x=
"50" data-offset-y=
"0" data-expected-width=
"100" data-expected-height=
"50">
174 <div class=
"sizedToGridArea fixed autoRowAutoColumn offsetLeft100"
175 data-offset-x=
"100" data-offset-y=
"0" data-expected-width=
"150" data-expected-height=
"150">
178 <div class=
"sizedToGridArea autoRowAutoColumn"
179 data-offset-x=
"0" data-offset-y=
"50" data-expected-width=
"50" data-expected-height=
"100">