Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 5a62fb16bf60aa6bc6943270c7d3c4ebbf58f5c5
https://github.com/WebKit/WebKit/commit/5a62fb16bf60aa6bc6943270c7d3c4ebbf58f5c5
Author: Karl Dubost <[email protected]>
Date: 2026-06-25 (Thu, 25 Jun 2026)
Changed paths:
M
LayoutTests/compositing/shared-backing/overflow-scroll/relative-in-clipping-in-scroller-in-relative-clipping-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/css/css-overflow/overflow-padding-expected.txt
A
LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/scrollWidthHeight-child-border-within-padding.tentative-expected.txt
A
LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/scrollWidthHeight-child-border-within-padding.tentative.html
A
LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/scrollWidthHeight-flex-column-padding-001-expected.txt
A
LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/scrollWidthHeight-flex-column-padding-001.html
M
LayoutTests/platform/ios/compositing/shared-backing/overflow-scroll/relative-in-clipping-in-scroller-in-relative-clipping-expected.txt
M Source/WebCore/rendering/RenderBoxInlines.h
Log Message:
-----------
REGRESSION (307212@main Safari 26.x): flex column padding excluded from
scrollHeight
https://bugs.webkit.org/show_bug.cgi?id=316902
rdar://179376053
Reviewed by Elika Etemad.
This fix an issue introduced in
https://webkit.org/b/286753
https://github.com/WebKit/WebKit/pull/57545
A flex column with overflow:auto and top/bottom padding stopped including
that padding in scrollHeight when its items overflow the content edge.
307212@main introduced scrollableContentAreaOverflowRect() returning the
padding box instead of the content box when no overflow is recorded yet.
Return flippedContentBoxRect() instead, matching the pre-307212
behavior and the helper's name.
It also adds a WPT test to catch it next time.
Test:
imported/w3c/web-platform-tests/css/cssom-view/scrollWidthHeight-flex-column-padding-001.html
imported/w3c/web-platform-tests/css/cssom-view/scrollWidthHeight-child-border-within-padding.tentative.html
*
LayoutTests/compositing/shared-backing/overflow-scroll/relative-in-clipping-in-scroller-in-relative-clipping-expected.txt:
*
LayoutTests/imported/w3c/web-platform-tests/css/css-overflow/overflow-padding-expected.txt:
fix this test
*
LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/scrollWidthHeight-child-border-within-padding.tentative.html:
Added.
*
LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/scrollWidthHeight-child-border-within-padding.tentative-expected.txt:
Added.
*
LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/scrollWidthHeight-flex-column-padding-001-expected.txt:
Added.
*
LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/scrollWidthHeight-flex-column-padding-001.html:
Added.
* Source/WebCore/rendering/RenderBoxInlines.h:
(WebCore::RenderBox::scrollableContentAreaOverflowRect const):
Canonical link: https://commits.webkit.org/315813@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications