flex-aspect-ratio-052.html (451B)
1 <!DOCTYPE html> 2 <link rel="help" href="https://github.com/w3c/csswg-drafts/issues/6794#issuecomment-2125293490"> 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="display: flex; flex-direction: column; width: 100px; height: 0px;"> 6 <div style="background: green; aspect-ratio: 2/1; width: 100%;"> 7 <div style="height: 100px;"></div> 8 </div> 9 </div>