Bug 217719 - Scrolls in the passive event region only send one wheel event to the DOM
Summary: Scrolls in the passive event region only send one wheel event to the DOM
Alias: None
Product: WebKit
Classification: Unclassified
Component: Scrolling (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Simon Fraser (smfr)
Keywords: InRadar
Depends on:
Reported: 2020-10-14 11:10 PDT by Simon Fraser (smfr)
Modified: 2020-10-15 12:24 PDT (History)
9 users (show)

See Also:

Patch (18.72 KB, patch)
2020-10-15 11:11 PDT, Simon Fraser (smfr)
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 2020-10-14 11:10:28 PDT
When the scrolling thread latches on a node (which might be in the passive event listener region), we should also store the processing steps and used them for latched scrolls. If we don't, then we would hit-test the layers again, and potentially get a different answer (breaking the rules of latching).

Also latched scrolls need to use WheelEventProcessingSteps::MainThreadForDOMEventDispatch if in the passive region.
Comment 1 Radar WebKit Bug Importer 2020-10-14 11:11:04 PDT
Comment 2 Simon Fraser (smfr) 2020-10-15 11:11:13 PDT
Created attachment 411464 [details]
Comment 3 EWS 2020-10-15 12:24:46 PDT
Committed r268544: <https://trac.webkit.org/changeset/268544>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 411464 [details].