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: 50px 100px; | 6 grid-template-columns: 50px 100px; |
11 grid-template-rows: 70px 140px; | 7 grid-template-rows: 70px 140px; |
12 } | 8 } |
13 | 9 |
14 #minHeightPercent { | 10 #minHeightPercent { |
15 height: 10px; | 11 height: 10px; |
16 min-height: 50%; | 12 min-height: 50%; |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 <div id="gridWithMinHeightItem" class="grid"> | 51 <div id="gridWithMinHeightItem" class="grid"> |
56 <div id="minHeightPercent"></div> | 52 <div id="minHeightPercent"></div> |
57 </div> | 53 </div> |
58 | 54 |
59 <div id="gridWithMaxHeightItem" class="grid"> | 55 <div id="gridWithMaxHeightItem" class="grid"> |
60 <div id="maxHeightPercent"></div> | 56 <div id="maxHeightPercent"></div> |
61 </div> | 57 </div> |
62 | 58 |
63 </body> | 59 </body> |
64 </html> | 60 </html> |
OLD | NEW |