| 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 .gridMinMinContent { | 5 .gridMinMinContent { |
| 10 grid-template-columns: 30px; | 6 grid-template-columns: 30px; |
| 11 grid-template-rows: minmax(min-content, 40px); | 7 grid-template-rows: minmax(min-content, 40px); |
| 12 } | 8 } |
| 13 | 9 |
| 14 .gridMaxMinContent { | 10 .gridMaxMinContent { |
| 15 grid-template-columns: 30px; | 11 grid-template-columns: 30px; |
| 16 grid-template-rows: minmax(30px, min-content); | 12 grid-template-rows: minmax(30px, min-content); |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 | 96 |
| 101 <div style="width: 30px; height: 100px"> | 97 <div style="width: 30px; height: 100px"> |
| 102 <div class="grid gridMaxMinContent"> | 98 <div class="grid gridMaxMinContent"> |
| 103 <!-- The 'max' logical width ends up being smaller than the 'min' so per
the spec we ignore the 'max'. --> | 99 <!-- The 'max' logical width ends up being smaller than the 'min' so per
the spec we ignore the 'max'. --> |
| 104 <div class="firstRowFirstColumn" data-expected-width="30" data-expected-
height="30">XXX XXX</div> | 100 <div class="firstRowFirstColumn" data-expected-width="30" data-expected-
height="30">XXX XXX</div> |
| 105 </div> | 101 </div> |
| 106 </div> | 102 </div> |
| 107 | 103 |
| 108 </body> | 104 </body> |
| 109 </html> | 105 </html> |
| OLD | NEW |