OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <script> | 3 <script> |
4 if (window.testRunner) | 4 if (window.testRunner) |
5 testRunner.overridePreference("WebKitCSSGridLayoutEnabled", 1); | 5 testRunner.overridePreference("WebKitCSSGridLayoutEnabled", 1); |
6 </script> | 6 </script> |
7 <link href="resources/grid.css" rel="stylesheet"> | 7 <link href="resources/grid.css" rel="stylesheet"> |
8 <style> | 8 <style> |
9 .grid { | 9 .grid { |
10 grid-definition-columns: 100px 10vw; | 10 grid-template-columns: 100px 10vw; |
11 grid-definition-rows: 10vh 100px; | 11 grid-template-rows: 10vh 100px; |
12 } | 12 } |
13 | 13 |
14 .firstRowFirstColumn { | 14 .firstRowFirstColumn { |
15 width: 100%; | 15 width: 100%; |
16 height: 100%; | 16 height: 100%; |
17 } | 17 } |
18 | 18 |
19 .firstRowSecondColumn { | 19 .firstRowSecondColumn { |
20 width: 100%; | 20 width: 100%; |
21 height: 100%; | 21 height: 100%; |
(...skipping 30 matching lines...) Expand all Loading... |
52 | 52 |
53 <div class="grid"> | 53 <div class="grid"> |
54 <div class="firstRowFirstColumn" class="verticalRL" data-expected-width="10
0" data-expected-height="60"></div> | 54 <div class="firstRowFirstColumn" class="verticalRL" data-expected-width="10
0" data-expected-height="60"></div> |
55 <div class="firstRowSecondColumn" data-expected-width="80" data-expected-he
ight="60"></div> | 55 <div class="firstRowSecondColumn" data-expected-width="80" data-expected-he
ight="60"></div> |
56 <div class="secondRowFirstColumn" class="verticalRL" data-expected-width="1
00" data-expected-height="100"></div> | 56 <div class="secondRowFirstColumn" class="verticalRL" data-expected-width="1
00" data-expected-height="100"></div> |
57 <div class="secondRowSecondColumn" data-expected-width="80" data-expected-h
eight="100"></div> | 57 <div class="secondRowSecondColumn" data-expected-width="80" data-expected-h
eight="100"></div> |
58 </div> | 58 </div> |
59 | 59 |
60 </body> | 60 </body> |
61 </html> | 61 </html> |
OLD | NEW |