OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <script> | |
4 if (window.testRunner) | |
5 testRunner.overridePreference("WebKitCSSGridLayoutEnabled", 1); | |
6 </script> | |
7 <link href="resources/grid.css" rel="stylesheet"> | 3 <link href="resources/grid.css" rel="stylesheet"> |
8 <style> | 4 <style> |
9 .grid { | 5 .grid { |
10 grid-template-columns: 70% 30%; | 6 grid-template-columns: 70% 30%; |
11 grid-template-rows: 40% 60%; | 7 grid-template-rows: 40% 60%; |
12 width: 400px; | 8 width: 400px; |
13 height: 300px; | 9 height: 300px; |
14 } | 10 } |
15 | 11 |
16 .firstRowFirstColumn { | 12 .firstRowFirstColumn { |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 <div class="grid" data-expected-width="400" data-expected-height="300"> | 74 <div class="grid" data-expected-width="400" data-expected-height="300"> |
79 <div class="firstRowFirstColumn" data-expected-width="160" data-expected-hei
ght="15"></div> | 75 <div class="firstRowFirstColumn" data-expected-width="160" data-expected-hei
ght="15"></div> |
80 <div class="firstRowSecondColumn" data-expected-width="15" data-expected-hei
ght="90"></div> | 76 <div class="firstRowSecondColumn" data-expected-width="15" data-expected-hei
ght="90"></div> |
81 <div class="secondRowFirstColumn" data-expected-width="80" data-expected-hei
ght="105"></div> | 77 <div class="secondRowFirstColumn" data-expected-width="80" data-expected-hei
ght="105"></div> |
82 <div class="secondRowSecondColumn" data-expected-width="240" data-expected-h
eight="210"></div> | 78 <div class="secondRowSecondColumn" data-expected-width="240" data-expected-h
eight="210"></div> |
83 </div> | 79 </div> |
84 </div> | 80 </div> |
85 | 81 |
86 </body> | 82 </body> |
87 </html> | 83 </html> |
OLD | NEW |