[webkit-changes] [WebKit/WebKit] fbf46c: Flex container with `overflow: scroll` does not co...
Alan Baradlay
noreply at github.com
Mon Feb 10 07:00:52 PST 2025
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: fbf46c89f807e8d66c1d033b10b70059de910b9a
https://github.com/WebKit/WebKit/commit/fbf46c89f807e8d66c1d033b10b70059de910b9a
Author: Alan Baradlay <zalan at apple.com>
Date: 2025-02-10 (Mon, 10 Feb 2025)
Changed paths:
A LayoutTests/imported/w3c/web-platform-tests/css/css-overflow/scrollable-overflow-with-flex-item-margin-inline-end-expected.txt
A LayoutTests/imported/w3c/web-platform-tests/css/css-overflow/scrollable-overflow-with-flex-item-margin-inline-end.html
M Source/WebCore/rendering/RenderBox.cpp
Log Message:
-----------
Flex container with `overflow: scroll` does not correctly account for the inline margin end of flex items to determine the scrollable area
https://bugs.webkit.org/show_bug.cgi?id=286149
Reviewed by Antti Koivisto.
"The scrollable overflow area is the union of:
..
The margin areas of grid item and flex item boxes for which the box establishes a containing block.
.."
https://drafts.csswg.org/css-overflow-3/#scrollable
* LayoutTests/imported/w3c/web-platform-tests/css/css-overflow/scrollable-overflow-with-flex-item-margin-inline-end-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/css/css-overflow/scrollable-overflow-with-flex-item-margin-inline-end.html: Added.
* Source/WebCore/rendering/RenderBox.cpp:
(WebCore::RenderBox::layoutOverflowRectForPropagation const):
Canonical link: https://commits.webkit.org/290159@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list