Currently, `|movementX|` and `|movementY|` are supported only when `|mousemove|` or `|pointermove|` as defined by the spec. However, Chrome supports this and this is reported as a web-compat issue in the wild. I already filed the spec issue to change the spec. So, we think the Chrome's behavior is reasonable. Therefore, we'll follow them.

Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1987671

Standard: https://w3c.github.io/pointerlock/#extensions-to-the-mouseevent-interface

Spec issues: https://github.com/w3c/pointerlock/issues/100 and https://github.com/w3c/pointerevents/issues/535

Platform coverage: All

Preference: |dom.event.pointer.rawupdate.movement.enabled|

DevTools bug: N/A

Other browsers: Chrome has already support it with `|pointerrawupdate|`, I'm not sure about Safari.

web-platform-tests: No (The new behavior is tested with existing mochitests for now)

--
Masayuki Nakano<[email protected]>
Working on DOM, Events, editor and IME handling for Gecko

--
You received this message because you are subscribed to the Google Groups 
"[email protected]" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/a/mozilla.org/d/msgid/dev-platform/7759ab94-1ad5-4dcd-af6c-fbe3641c3f16%40d-toybox.com.

Reply via email to