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 .gridFixedContent { | 5 .gridFixedContent { |
10 grid-template-columns: 50px minmax(min-content, 50px) minmax(max-content, 50
px) minmax(50px, min-content); | 6 grid-template-columns: 50px minmax(min-content, 50px) minmax(max-content, 50
px) minmax(50px, min-content); |
11 grid-template-rows: 70px minmax(max-content, 70px) minmax(50px, min-content)
minmax(65px, max-content); | 7 grid-template-rows: 70px minmax(max-content, 70px) minmax(50px, min-content)
minmax(65px, max-content); |
12 } | 8 } |
13 </style> | 9 </style> |
14 <script src="../../resources/check-layout.js"></script> | 10 <script src="../../resources/check-layout.js"></script> |
15 <script> | 11 <script> |
16 function testPosition(gridElementID, position, size) | 12 function testPosition(gridElementID, position, size) |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 <div class="grid gridFixedContent" id="constrainedGridUndefinedHeight"><div
class="sizedToGridArea">XXXX XXXX XXXX</div></div> | 116 <div class="grid gridFixedContent" id="constrainedGridUndefinedHeight"><div
class="sizedToGridArea">XXXX XXXX XXXX</div></div> |
121 </div> | 117 </div> |
122 | 118 |
123 <!-- Allow the extra logical space distribution to occur. --> | 119 <!-- Allow the extra logical space distribution to occur. --> |
124 <div style="width: 1000px; height: 1000px"> | 120 <div style="width: 1000px; height: 1000px"> |
125 <div class="grid gridFixedContent" id="unconstrainedGrid"><div class="sizedT
oGridArea">XXXXXX XXXXXX</div></div> | 121 <div class="grid gridFixedContent" id="unconstrainedGrid"><div class="sizedT
oGridArea">XXXXXX XXXXXX</div></div> |
126 </div> | 122 </div> |
127 | 123 |
128 </body> | 124 </body> |
129 </html> | 125 </html> |
OLD | NEW |