[webkit-changes] [WebKit/WebKit] bd33a8: Incorrect wheel event behavior with Shadow DOM
Simon Fraser
noreply at github.com
Thu Jan 18 09:03:03 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: bd33a8e97f273f32b0034c9fed1f7ce52b460393
https://github.com/WebKit/WebKit/commit/bd33a8e97f273f32b0034c9fed1f7ce52b460393
Author: Simon Fraser <simon.fraser at apple.com>
Date: 2024-01-18 (Thu, 18 Jan 2024)
Changed paths:
A LayoutTests/fast/scrolling/mac/wheel-event-in-overflow-with-shadow-dom-expected.txt
A LayoutTests/fast/scrolling/mac/wheel-event-in-overflow-with-shadow-dom.html
M Source/WebCore/page/mac/EventHandlerMac.mm
Log Message:
-----------
Incorrect wheel event behavior with Shadow DOM
https://bugs.webkit.org/show_bug.cgi?id=264469
rdar://118496293
Reviewed by Ryosuke Niwa and Chris Dumez.
`findEnclosingScrollableContainer()` needs to use `parentInComposedTree()` to find the enclosing
ScrollableArea for the overflow scroll.
* LayoutTests/fast/scrolling/mac/wheel-event-in-overflow-with-shadow-dom-expected.txt: Added.
* LayoutTests/fast/scrolling/mac/wheel-event-in-overflow-with-shadow-dom.html: Added.
* Source/WebCore/page/mac/EventHandlerMac.mm:
(WebCore::findEnclosingScrollableContainer):
Canonical link: https://commits.webkit.org/273181@main
More information about the webkit-changes
mailing list