OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <link href="resources/grid.css" rel="stylesheet"> | 3 <link href="resources/grid.css" rel="stylesheet"> |
4 <style> | 4 <style> |
5 .grid { | 5 .grid { |
6 grid-template-columns: 40% 60%; | 6 grid-template-columns: 40% 60%; |
7 grid-template-rows: 30% 70%; | 7 grid-template-rows: 30% 70%; |
8 width: 400px; | 8 width: 400px; |
9 height: 300px; | 9 height: 300px; |
10 } | 10 } |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
188 | 188 |
189 <div style="position: relative"> | 189 <div style="position: relative"> |
190 <div class="grid" id="bigGrid" data-expected-width="200" data-expected-height="1
00"> | 190 <div class="grid" id="bigGrid" data-expected-width="200" data-expected-height="1
00"> |
191 <div class="sizedToGridArea underflowSpanning" data-offset-x="0" data-offset
-y="0" data-expected-width="100" data-expected-height="75"></div> | 191 <div class="sizedToGridArea underflowSpanning" data-offset-x="0" data-offset
-y="0" data-expected-width="100" data-expected-height="75"></div> |
192 </div> | 192 </div> |
193 | 193 |
194 <!-- Check that the end span is ignored when two opposing spans are specified--> | 194 <!-- Check that the end span is ignored when two opposing spans are specified--> |
195 <div style="position: relative"> | 195 <div style="position: relative"> |
196 <div class="grid" id="fixedGrid" style="grid-auto-flow: row;"> | 196 <div class="grid" id="fixedGrid" style="grid-auto-flow: row;"> |
197 <div class="sizedToGridArea" style="grid-column: 1; grid-row: 1;" data-offse
t-x="0" data-offset-y="0" data-expected-width="10" data-expected-height="15"></d
iv> | 197 <div class="sizedToGridArea" style="grid-column: 1; grid-row: 1;" data-offse
t-x="0" data-offset-y="0" data-expected-width="10" data-expected-height="15"></d
iv> |
198 <div class="sizedToGridArea doubleSpan" data-offset-x="10" data-offset-y="0"
data-expected-width="20" data-expected-height="15"></div> | 198 <div class="sizedToGridArea doubleSpan" data-offset-x="10" data-offset-y="0"
data-expected-width="60" data-expected-height="105"></div> |
199 </div> | 199 </div> |
200 | 200 |
201 <div style="position: relative"> | 201 <div style="position: relative"> |
202 <div class="grid" id="fixedGrid" style="grid-auto-flow: column;"> | 202 <div class="grid" id="fixedGrid" style="grid-auto-flow: column;"> |
203 <div class="sizedToGridArea" style="grid-column: 1; grid-row: 1;" data-offse
t-x="0" data-offset-y="0" data-expected-width="10" data-expected-height="15"></d
iv> | 203 <div class="sizedToGridArea" style="grid-column: 1; grid-row: 1;" data-offse
t-x="0" data-offset-y="0" data-expected-width="10" data-expected-height="15"></d
iv> |
204 <div class="sizedToGridArea doubleSpan" data-offset-x="0" data-offset-y="15"
data-expected-width="10" data-expected-height="30"></div> | 204 <div class="sizedToGridArea doubleSpan" data-offset-x="0" data-offset-y="15"
data-expected-width="30" data-expected-height="210"></div> |
205 </div> | 205 </div> |
206 </body> | 206 </body> |
207 </html> | 207 </html> |
OLD | NEW |