Closed Bug 1880594 Opened 8 months ago Closed 7 months ago

`touchend` does not cause mouse events if synthesized without APZ (test.events.async.enabled=false)

Categories

(Core :: DOM: UI Events & Focus Handling, defect)

defect

Tracking

()

RESOLVED FIXED
125 Branch
Tracking Status
firefox125 --- fixed

People

(Reporter: masayuki, Assigned: masayuki)

References

Details

Attachments

(1 file)

Currently, mouse events for compatibility are not fired if a touch is synthesized without APZ because they are dispatched by APZCCallbackHelper, and it's currently default. Therefore, touch tests for pointer events do not work. PresShell::EventHandler should have a fallback path for it.

The mouse events for eTouchEnd is currently dispatched by
APZCCallbackHelper [1] and currently we don't support async event dispatching
in WPT (bug 1773393). Therefore, tests of Pointer Events for touch won't work.
This blocks our further work to improve Pointer Events. Therefore,
PresShell::EventHandler should have a fallback path for it.

  1. https://searchfox.org/mozilla-central/rev/a7809ff8b0a6d98e6df3183d3ca99c77ef2f983e/gfx/layers/apz/util/APZCCallbackHelper.cpp#553,562-567
Pushed by masayuki@d-toybox.com: https://hg.mozilla.org/integration/autoland/rev/555336283b32 Make `PresShell::EventHandler` dispatch mouse events as a default action of `eTouchEnd` if it's dispatched without APZ r=smaug
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/44802 for changes under testing/web-platform/tests
Status: ASSIGNED → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED
Target Milestone: --- → 125 Branch
Upstream PR merged by moz-wptsync-bot
Summary: `touchend` does not cause mouse events if synthesized with APZ (test.events.async.enabled=false) → `touchend` does not cause mouse events if synthesized without APZ (test.events.async.enabled=false)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: