[webkit-changes] [WebKit/WebKit] 88cdc8: Element with `overflow: scroll` does not correctly...
Alan Baradlay
noreply at github.com
Mon Feb 17 19:44:36 PST 2025
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 88cdc8fdb1bd052fe5bf3f159d04eac7a0f5c760
https://github.com/WebKit/WebKit/commit/88cdc8fdb1bd052fe5bf3f159d04eac7a0f5c760
Author: Alan Baradlay <zalan at apple.com>
Date: 2025-02-17 (Mon, 17 Feb 2025)
Changed paths:
M LayoutTests/imported/w3c/web-platform-tests/css/css-overflow/orthogonal-flow-with-inline-end-margin-expected.txt
A LayoutTests/imported/w3c/web-platform-tests/css/css-overflow/scrollable-overflow-height-with-flex-item-margin-inline-end.html-expected.txt
A LayoutTests/imported/w3c/web-platform-tests/css/css-overflow/scrollable-overflow-height-with-flex-item-margin-inline-end.html.html
M LayoutTests/imported/w3c/web-platform-tests/scroll-animations/css/view-timeline-inset-animation-expected.txt
M Source/WebCore/rendering/RenderBox.cpp
Log Message:
-----------
Element with `overflow: scroll` does not correctly account for margins of its child to determine the scrollable area with `writing-mode: vertical-rl`
https://bugs.webkit.org/show_bug.cgi?id=287638
<rdar://problem/144793456>
Reviewed by Antti Koivisto.
Scrollable rect width/height are flipped in vertical mode.
* LayoutTests/imported/w3c/web-platform-tests/css/css-overflow/scrollable-overflow-height-with-flex-item-margin-inline-end.html-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/css/css-overflow/scrollable-overflow-height-with-flex-item-margin-inline-end.html.html: Copied from LayoutTests/imported/w3c/web-platform-tests/css/css-overflow/scrollable-overflow-with-flex-item-margin-inline-end.html.
* LayoutTests/imported/w3c/web-platform-tests/css/css-overflow/scrollable-overflow-with-flex-item-margin-inline-end.html:
* Source/WebCore/rendering/RenderBox.cpp:
(WebCore::RenderBox::layoutOverflowRectForPropagation const):
Canonical link: https://commits.webkit.org/290518@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