<!-- This test is intentionally in quirks mode. --><title>calc-size() and the body fills html quirk</title><linkrel="help"href="https://drafts.csswg.org/css-values-5/#calc-size"><linkrel="help"href="https://quirks.spec.whatwg.org/#the-body-element-fills-the-html-element-quirk"><linkrel="match"href="calc-size-no-body-height-quirk-001-ref.html"><style>body{height:calc-size(auto,size);border:mediumsolid;}</style><body>The bottom border of this box should be close to the text, not at the bottom of the viewport.</body>