[Webkit-unassigned] [Bug 192066] New: Wheel event propagation doesn't match other events
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Nov 27 19:19:08 PST 2018
https://bugs.webkit.org/show_bug.cgi?id=192066
Bug ID: 192066
Summary: Wheel event propagation doesn't match other events
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Event Handling
Assignee: webkit-unassigned at lists.webkit.org
Reporter: simon.fraser at apple.com
Wheel event handling is funky. EventHandler::platformPrepareForWheelEvents starts by finding a target node with findEnclosingScrollableContainer() which looks up the ancestor DOM chain.
After finding a target node, handleWheelEventInAppropriateEnclosingBox() walks up the render containing block hierarchy looking for a scrollable parent to handle the event (with no hit-testing, so we can scroll things when over their border, for example).
This causes confusion when we set up latching state, but fail to hit the scroller in the containing block tree walk that we saw in the DOM ancestor tree walk.
https://codepen.io/smfr/pen/rQZqxo
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20181128/42727405/attachment.html>
More information about the webkit-unassigned
mailing list