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 .gridMinMaxContent { | 5 .gridMinMaxContent { |
10 grid-template-columns: 20px; | 6 grid-template-columns: 20px; |
11 grid-template-rows: minmax(max-content, 50px); | 7 grid-template-rows: minmax(max-content, 50px); |
12 } | 8 } |
13 | 9 |
14 .gridMaxMaxContent { | 10 .gridMaxMaxContent { |
15 grid-template-columns: 20px; | 11 grid-template-columns: 20px; |
16 grid-template-rows: minmax(30px, max-content); | 12 grid-template-rows: minmax(30px, max-content); |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 </div> | 120 </div> |
125 | 121 |
126 <div style="width: 100px; height: 20px"> | 122 <div style="width: 100px; height: 20px"> |
127 <div class="grid gridMaxMaxContent"> | 123 <div class="grid gridMaxMaxContent"> |
128 <div class="firstRowFirstColumn" data-expected-width="20" data-expected-
height="50">XX XX XX XX XX</div> | 124 <div class="firstRowFirstColumn" data-expected-width="20" data-expected-
height="50">XX XX XX XX XX</div> |
129 </div> | 125 </div> |
130 </div> | 126 </div> |
131 | 127 |
132 </body> | 128 </body> |
133 </html> | 129 </html> |
OLD | NEW |