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: auto; | 10 grid-template-columns: auto; |
11 grid-definition-rows: 50px; | 11 grid-template-rows: 50px; |
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="50">XXXXX</div> | 41 <div class="firstRowFirstColumn" data-expected-width="50" data-expected-
height="50">XXXXX</div> |
42 </div> | 42 </div> |
43 </div> | 43 </div> |
44 | 44 |
45 </body> | 45 </body> |
46 </html> | 46 </html> |
OLD | NEW |