| 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 .percentPadding { | 12 .percentPadding { |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 | 56 |
| 61 <div class="grid"> | 57 <div class="grid"> |
| 62 <div class="firstRowFirstColumn percentPadding verticalRL" data-expected-pad
ding-top="50" data-expected-padding-right="50" data-expected-padding-bottom="50"
data-expected-padding-left="50"></div> | 58 <div class="firstRowFirstColumn percentPadding verticalRL" data-expected-pad
ding-top="50" data-expected-padding-right="50" data-expected-padding-bottom="50"
data-expected-padding-left="50"></div> |
| 63 <div class="firstRowSecondColumn percentMargin" data-expected-margin-top="15
0" data-expected-margin-right="150" data-expected-margin-bottom="150" data-expec
ted-margin-left="150"></div> | 59 <div class="firstRowSecondColumn percentMargin" data-expected-margin-top="15
0" data-expected-margin-right="150" data-expected-margin-bottom="150" data-expec
ted-margin-left="150"></div> |
| 64 <div class="secondRowFirstColumn percentPaddingAndMargin verticalRL" data-ex
pected-padding-top="10" data-expected-padding-right="10" data-expected-padding-b
ottom="10" data-expected-padding-left="10" data-expected-margin-top="20" data-ex
pected-margin-right="20" data-expected-margin-bottom="20" data-expected-margin-l
eft="20"></div> | 60 <div class="secondRowFirstColumn percentPaddingAndMargin verticalRL" data-ex
pected-padding-top="10" data-expected-padding-right="10" data-expected-padding-b
ottom="10" data-expected-padding-left="10" data-expected-margin-top="20" data-ex
pected-margin-right="20" data-expected-margin-bottom="20" data-expected-margin-l
eft="20"></div> |
| 65 <div class="secondRowSecondColumn percentPaddingAndMargin" data-expected-pad
ding-top="30" data-expected-padding-right="30" data-expected-padding-bottom="30"
data-expected-padding-left="30" data-expected-margin-top="60" data-expected-mar
gin-right="60" data-expected-margin-bottom="60" data-expected-margin-left="60"><
/div> | 61 <div class="secondRowSecondColumn percentPaddingAndMargin" data-expected-pad
ding-top="30" data-expected-padding-right="30" data-expected-padding-bottom="30"
data-expected-padding-left="30" data-expected-margin-top="60" data-expected-mar
gin-right="60" data-expected-margin-bottom="60" data-expected-margin-left="60"><
/div> |
| 66 </div> | 62 </div> |
| 67 | 63 |
| 68 </body> | 64 </body> |
| 69 </html> | 65 </html> |
| OLD | NEW |