column-auto-repeat-004.html (748B)
1 <!DOCTYPE html> 2 <title>Checks that the min-height is reflected through the aspect-ratio for determining auto repeat tracks.</title> 3 <link rel="help" href="https://drafts.csswg.org/css-grid-3"> 4 <link rel="match" href="../../../../../reference/ref-filled-green-100px-square-only.html"> 5 <link rel="author" title="Alison Maher" href="mailto:almaher@microsoft.com"> 6 <style> 7 .grid-lanes { 8 display: inline-grid-lanes; 9 background: green; 10 aspect-ratio: 1/1; 11 grid-template-columns: repeat(auto-fill, 50px); 12 min-height: 60%; 13 } 14 </style> 15 <p>Test passes if there is a filled green square.</p> 16 <div style="width: min-content; height: 100px; background: green;"> 17 <div style="height: 100%;"> 18 <div class="grid-lanes"></div> 19 </div> 20 </div>