abspos-017.html (506B)
1 <!DOCTYPE html> 2 <title>CSS aspect-ratio: out-of-flow replaced element</title> 3 <link rel="help" href="https://drafts.csswg.org/css-sizing-4/#aspect-ratio"> 4 <link rel="match" href="../../reference/ref-filled-green-100px-square.xht" /> 5 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 6 <div style="position: relative;"> 7 <div style="position: absolute; aspect-ratio: 1/1; height: 100px; min-width: 0; background: green;"> 8 <div style="width: 200px;"></div> 9 </div> 10 </div>