Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: e3dbeec59b51e289226e9dbe5ac987571d276fc0
https://github.com/WebKit/WebKit/commit/e3dbeec59b51e289226e9dbe5ac987571d276fc0
Author: Alan Baradlay <[email protected]>
Date: 2026-09-30 (Wed, 30 Sep 2026)
Changed paths:
M LayoutTests/TestExpectations
M Source/WebCore/rendering/RenderBoxInlines.h
Log Message:
-----------
[css-values-5 calc-size()] A body with height: calc-size(auto, size) should
not fill the viewport in quirks mode
https://bugs.webkit.org/show_bug.cgi?id=324665
<rdar://problem/187925685>
Reviewed by Tim Nguyen.
<!-- quirks mode -->
<body style="height: calc-size(auto, size); border: medium solid">…</body>
The border sits just under the text. The quirk that makes the body fill the
html element applies to a
body whose height is auto, and a calc-size() over an auto basis was taken for
one, so the body grew to
the viewport instead.
* Source/WebCore/rendering/RenderBoxInlines.h:
(WebCore::RenderBox::stretchesToViewport const): A calc-size() over an auto
basis is a height the author asked for, so the quirk leaves it alone.
Canonical link: https://commits.webkit.org/322338@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications