Add MouseEvent.movementX/Y

RESOLVED FIXED in Firefox 41

Status

()

Core
DOM: Events
RESOLVED FIXED
3 years ago
2 years ago

People

(Reporter: smaug, Assigned: smaug)

Tracking

(Depends on: 1 bug, {dev-doc-complete})

36 Branch
mozilla41
dev-doc-complete
Points:
---

Firefox Tracking Flags

(firefox41 fixed)

Details

(URL)

Attachments

(2 attachments)

Right now we seem to have only moz-prefixed properties. I think we should add non-prefixed ones and warn about use of prefixed ones, and then eventually remove the prefixed properties.
Chrome seems to have both webkitMovementX/Y and movementX/Y.
Assignee: nobody → bugs
Created attachment 8606559 [details] [diff] [review]
event_movement.diff

Somewhat minimal testing, and I'll add PointerEvents tests elsewhere.

https://treeherder.mozilla.org/#/jobs?repo=try&revision=106d75834030
Attachment #8606559 - Flags: review?(masayuki)
Comment on attachment 8606559 [details] [diff] [review]
event_movement.diff

Looks okay. Sorry for the delay due to my bad condition :-(
Attachment #8606559 - Flags: review?(masayuki) → review+
There was no bad delay, and hopefully you're feeling better.
Looks like wpt has some unexpected pass -tests.
Created attachment 8607607 [details] [diff] [review]
+remove the checks for expected test failures

Comment 7

3 years ago
https://hg.mozilla.org/integration/mozilla-inbound/rev/2ac9fe6d2333
Backed out for frequent test_bug301397.xul failures.
https://treeherder.mozilla.org/logviewer.html#?job_id=9975713&repo=mozilla-inbound

Comment 9

3 years ago
Backout:
https://hg.mozilla.org/integration/mozilla-inbound/rev/e63bc65a7ded
That doesn't really make sense.
https://treeherder.mozilla.org/#/jobs?repo=try&revision=7d8ad41f0bd8
Sorry, they turned out to be from bug 1162088, not you. I'll re-land.

Comment 13

3 years ago
https://hg.mozilla.org/integration/mozilla-inbound/rev/1488354357e1
https://hg.mozilla.org/mozilla-central/rev/1488354357e1
Status: NEW → RESOLVED
Last Resolved: 3 years ago
status-firefox41: --- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla41
https://developer.mozilla.org/en-US/Firefox/Releases/41/Site_Compatibility#DOM
Keywords: dev-doc-needed
Doc updated:
https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/movementX
https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/movementY
and
https://developer.mozilla.org/en-US/Firefox/Releases/41
Keywords: dev-doc-needed → dev-doc-complete

Updated

2 years ago
Depends on: 1248300
You need to log in before you can comment on or make changes to this bug.