testing/web-platform/tests/css/css-values/calc-size/calc-size-no-body-height-quirk-001.html
author Lando <lando@lando.test>
Fri, 11 Jul 2025 16:34:42 +0000 (97 minutes ago)
changeset 796119 507aed88eb5a92e2e77286f3242050fac00a8201
parent 782084 05a6562bd34bb16ceef8c0c87389ce1815fe91e3
permissions -rw-r--r--
Merge autoland to mozilla-central
<!-- This test is intentionally in quirks mode. -->
<title>calc-size() and the body fills html quirk</title>
<link rel="help" href="https://drafts.csswg.org/css-values-5/#calc-size">
<link rel="help" href="https://quirks.spec.whatwg.org/#the-body-element-fills-the-html-element-quirk">
<link rel="match" href="calc-size-no-body-height-quirk-001-ref.html">
<style>

body {
  height: calc-size(auto, size);
  border: medium solid;
}

</style>

<body>The bottom border of this box should be close to the text, not at the bottom of the viewport.</body>