| 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: 100px 300px; | 6 grid-template-columns: 100px 300px; |
| 11 grid-template-rows: 50px 150px; | 7 grid-template-rows: 50px 150px; |
| 12 height: 200px; | 8 height: 200px; |
| 13 width: 400px; | 9 width: 400px; |
| 14 } | 10 } |
| 15 | 11 |
| 16 .percentWidth { | 12 .percentWidth { |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 </div> | 51 </div> |
| 56 | 52 |
| 57 <div class="grid"> | 53 <div class="grid"> |
| 58 <div class="firstRowFirstColumn percentWidth verticalRL" data-expected-width
="100" data-expected-height="15"></div> | 54 <div class="firstRowFirstColumn percentWidth verticalRL" data-expected-width
="100" data-expected-height="15"></div> |
| 59 <div class="firstRowSecondColumn percentHeight" data-expected-width="15" dat
a-expected-height="50"></div> | 55 <div class="firstRowSecondColumn percentHeight" data-expected-width="15" dat
a-expected-height="50"></div> |
| 60 <div class="secondRowFirstColumn percentHeightAndWidth verticalRL" data-expe
cted-width="100" data-expected-height="150"></div> | 56 <div class="secondRowFirstColumn percentHeightAndWidth verticalRL" data-expe
cted-width="100" data-expected-height="150"></div> |
| 61 <div class="secondRowSecondColumn percentHeightAndWidth" data-expected-width
="300" data-expected-height="150"></div> | 57 <div class="secondRowSecondColumn percentHeightAndWidth" data-expected-width
="300" data-expected-height="150"></div> |
| 62 </div> | 58 </div> |
| 63 </body> | 59 </body> |
| 64 </html> | 60 </html> |
| OLD | NEW |