<!DOCTYPE html><linkrel="help"href="https://drafts.csswg.org/css-values-5/#calc-size"><linkrel="help"href="https://drafts.csswg.org/css-sizing-4/#aspect-ratio"><linkrel="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. --><divstyle="aspect-ratio: 1/2; height: 100px; width: calc-size(auto, size + 50px); background: green;"></div>