row-auto-repeat-004.html (770B)
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-lanes-direction: row; 12 grid-template-rows: repeat(auto-fill, 50px); 13 min-height: 60%; 14 } 15 </style> 16 <p>Test passes if there is a filled green square.</p> 17 <div style="width: 100px; height: 100px; background: green;"> 18 <div style="height: 100%;"> 19 <div class="grid-lanes"></div> 20 </div> 21 </div>