block-aspect-ratio-057.tentative.html (442B)
1 <!DOCTYPE html> 2 <link rel="help" href="https://drafts.csswg.org/css-sizing-4/#aspect-ratio"> 3 <link rel="match" href="../../reference/ref-filled-green-100px-square-only.html"> 4 <p>Test passes if there is a filled green square.</p> 5 <div style="width: fit-content; background: green;"> 6 <!-- The auto min-size should apply. --> 7 <div style="aspect-ratio: 1/2; width: 100%; height: 100px;"> 8 <div style="width: 100px;"></div> 9 </div> 10 </div>