| 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 .gridAutoContent { | 9 .gridAutoContent { |
| 10 grid-definition-columns: 50px; | 10 grid-template-columns: 50px; |
| 11 /* grid-definition-rows is left unset so that the grid item's row is implici
t. */ | 11 /* grid-template-rows is left unset so that the grid item's row is implicit.
*/ |
| 12 } | 12 } |
| 13 | 13 |
| 14 .firstRowFirstColumn { | 14 .firstRowFirstColumn { |
| 15 font: 10px/1 Ahem; | 15 font: 10px/1 Ahem; |
| 16 /* Make us fit our grid area. */ | 16 /* Make us fit our grid area. */ |
| 17 width: 100%; | 17 width: 100%; |
| 18 height: 100%; | 18 height: 100%; |
| 19 } | 19 } |
| 20 </style> | 20 </style> |
| 21 <script src="../../resources/check-layout.js"></script> | 21 <script src="../../resources/check-layout.js"></script> |
| (...skipping 15 matching lines...) Expand all Loading... |
| 37 </div> | 37 </div> |
| 38 | 38 |
| 39 <div style="width: 100px; height: 10px;"> | 39 <div style="width: 100px; height: 10px;"> |
| 40 <div class="grid gridAutoContent"> | 40 <div class="grid gridAutoContent"> |
| 41 <div class="firstRowFirstColumn" data-expected-width="50" data-expected-
height="60">XXXXX XXXXX XXXXX XXXXX XXXXX XXXXX</div> | 41 <div class="firstRowFirstColumn" data-expected-width="50" data-expected-
height="60">XXXXX XXXXX XXXXX XXXXX XXXXX XXXXX</div> |
| 42 </div> | 42 </div> |
| 43 </div> | 43 </div> |
| 44 | 44 |
| 45 </body> | 45 </body> |
| 46 </html> | 46 </html> |
| OLD | NEW |