Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-values/calc-size/calc-size-no-body-height-quirk-001.html - WPT Dashboard Interop Dashboard
<!-- This test is intentionally in quirks mode. -->
<title>calc-size() and the body fills html quirk</title>
<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>