| 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 .container { | 9 .container { |
| 10 position: relative; | 10 position: relative; |
| 11 width: 500px; | 11 width: 500px; |
| 12 height: 600px; | 12 height: 600px; |
| 13 } | 13 } |
| 14 | 14 |
| 15 .grid { | 15 .grid { |
| 16 grid-definition-columns: 40% 60%; | 16 grid-template-columns: 40% 60%; |
| 17 grid-definition-rows: 30% 70%; | 17 grid-template-rows: 30% 70%; |
| 18 width: 80%; | 18 width: 80%; |
| 19 height: 50%; | 19 height: 50%; |
| 20 } | 20 } |
| 21 | 21 |
| 22 .firstRowFirstColumn { | 22 .firstRowFirstColumn { |
| 23 width: 100%; | 23 width: 100%; |
| 24 height: 15px; | 24 height: 15px; |
| 25 } | 25 } |
| 26 | 26 |
| 27 .firstRowSecondColumn { | 27 .firstRowSecondColumn { |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 <div class="grid" style="-webkit-writing-mode: vertical-lr;" data-expected-width
="400" data-expected-height="300"> | 75 <div class="grid" style="-webkit-writing-mode: vertical-lr;" data-expected-width
="400" data-expected-height="300"> |
| 76 <div class="firstRowFirstColumn" data-expected-width="120" data-expected-hei
ght="15"></div> | 76 <div class="firstRowFirstColumn" data-expected-width="120" data-expected-hei
ght="15"></div> |
| 77 <div class="firstRowSecondColumn" data-expected-width="15" data-expected-hei
ght="180"></div> | 77 <div class="firstRowSecondColumn" data-expected-width="15" data-expected-hei
ght="180"></div> |
| 78 <div class="secondRowFirstColumn" data-expected-width="140" data-expected-he
ight="60"></div> | 78 <div class="secondRowFirstColumn" data-expected-width="140" data-expected-he
ight="60"></div> |
| 79 <div class="secondRowSecondColumn" data-expected-width="280" data-expected-h
eight="180"></div> | 79 <div class="secondRowSecondColumn" data-expected-width="280" data-expected-h
eight="180"></div> |
| 80 </div> | 80 </div> |
| 81 </div> | 81 </div> |
| 82 | 82 |
| 83 </body> | 83 </body> |
| 84 </html> | 84 </html> |
| OLD | NEW |