Status: FAIL | Duration: 11ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-values/calc-size/calc-size-aspect-ratio-002.html
<!DOCTYPE html> <link rel="help" href="https://drafts.csswg.org/css-values-5/#calc-size"> <link rel="help" href="https://drafts.csswg.org/css-sizing-4/#aspect-ratio"> <link rel="match" href="../../reference/ref-filled-green-100px-square-only.html"> <p>Test passes if there is a filled green square.</p> <!-- Without calc-size() "auto" would resolve to 50px, and passing through calc-size() will yield 100px. --> <div style="aspect-ratio: 2/1; width: 100px; height: calc-size(auto, size + 50px); background: green;"></div>
/css/reference/ref-filled-green-100px-square-only.html
<!DOCTYPE html> <link rel="author" title="Morten Stenshorne" href="mstensho@chromium.org"> <p>Test passes if there is a filled green square.</p> <div style="width:100px; height:100px; background:green;"></div>