Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1936826 [wpt PR 49656] - [Interop] WPT and fix for click dispatch…
… with chorded buttons., a=testonly Automatic update from web-platform-tests [Interop] WPT and fix for click dispatch with chorded buttons. This CL adds a WPT for click-like events from chorded buttons, which is currently being discussed in PEWG as an Interop problem: w3c/pointerevents#530 The CL also fixes a behind-a-flag crack in Chromium. The crack prevented firing of click-like events with the chorded buttons when ClickToCapturedPointer is enabled. This is because the call to `DispatchMouseClickIfNeeded` is wrongly skipped in this case since the `pointer_event->type()` is `kPointermove` not `kPointerup`. Bug: 40851596 Change-Id: I11606ed8f709f08aaa2d8aba3ebaeb07f26bbc1f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6059955 Reviewed-by: Robert Flack <[email protected]> Auto-Submit: Mustaq Ahmed <[email protected]> Commit-Queue: Robert Flack <[email protected]> Cr-Commit-Position: refs/heads/main@{#1395404} -- wpt-commits: fae8dd06efde90fd0b43ca757b6e691e7bbe55fa wpt-pr: 49656
- Loading branch information