replaced-element-021.html (612B)
1 <!DOCTYPE html> 2 <title>CSS aspect-ratio: SVG object without intrinsic size (auto && ratio)</title> 3 <link rel="author" title="Mozilla" href="https://www.mozilla.org/"> 4 <link rel="help" href="https://drafts.csswg.org/css-sizing-4/#aspect-ratio"> 5 <link rel="match" href="../../reference/ref-filled-green-100px-square.xht" /> 6 7 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 8 9 <object type="image/svg+xml" data="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' style='background-color: green'%3E%3C/svg%3E" 10 style="width: 100px; aspect-ratio: auto 1/1;"></object>