| 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; | 6 grid-template-columns: 100px; |
| 11 grid-template-rows: 50px; | 7 grid-template-rows: 50px; |
| 12 /* Force the grid element to be shrink-to-fit. */ | 8 /* Force the grid element to be shrink-to-fit. */ |
| 13 position: absolute; | 9 position: absolute; |
| 14 } | 10 } |
| 15 | 11 |
| 16 .padding { | 12 .padding { |
| (...skipping 13 matching lines...) Expand all Loading... |
| 30 | 26 |
| 31 <div class="grid padding" data-expected-height="100" data-expected-width="160"><
/div> | 27 <div class="grid padding" data-expected-height="100" data-expected-width="160"><
/div> |
| 32 <div class="grid padding verticalRL" data-expected-height="150" data-expected-wi
dth="110"></div> | 28 <div class="grid padding verticalRL" data-expected-height="150" data-expected-wi
dth="110"></div> |
| 33 <div class="grid border" data-expected-height="90" data-expected-width="160"></d
iv> | 29 <div class="grid border" data-expected-height="90" data-expected-width="160"></d
iv> |
| 34 <div class="grid border verticalRL" data-expected-height="140" data-expected-wid
th="110"></div> | 30 <div class="grid border verticalRL" data-expected-height="140" data-expected-wid
th="110"></div> |
| 35 <div class="grid border padding" data-expected-height="140" data-expected-width=
"220"></div> | 31 <div class="grid border padding" data-expected-height="140" data-expected-width=
"220"></div> |
| 36 <div class="grid border padding verticalRL" data-expected-height="190" data-expe
cted-width="170"></div> | 32 <div class="grid border padding verticalRL" data-expected-height="190" data-expe
cted-width="170"></div> |
| 37 | 33 |
| 38 </body> | 34 </body> |
| 39 </html> | 35 </html> |
| OLD | NEW |