The default bug view has changed. See this FAQ.

mousemove event should be cancelable

RESOLVED FIXED in mozilla31



DOM: Events
5 years ago
3 years ago


(Reporter: masayuki, Assigned: masayuki)


(Blocks: 2 bugs)

Dependency tree / graph
Bug Flags:
in-testsuite +

Firefox Tracking Flags

(Not tracked)




(1 attachment, 1 obsolete attachment)



5 years ago
mousemove event should be cancelable, see D3E spec:

Comment 1

5 years ago
Created attachment 576366 [details] [diff] [review]

This patch doesn't change actual behavior, just changes as cancelable.

IE9 and Opera support cancelable mousemove event. However, on both of them, :hover state isn't prevented even if I prevents default of mousemove event.

And also, text selection isn't blocked by the default prevented mousemove event.

WebKit's mousemove event is not cancelable.
Attachment #576366 - Flags: review?(bugs)

Comment 2

5 years ago
Btw, I'm not sure if this is just a bug in D3E.
DOM 2 mousemove is not cancelable.

Comment 3

5 years ago
Comment on attachment 576366 [details] [diff] [review]

You did send email to the mailing list, but did you perhaps file a 
spec bug?
Clearing r? until we know what to do with this.
Attachment #576366 - Flags: review?(bugs)

Comment 4

5 years ago
I filed a spec bug:

Comment 5

4 years ago
In Blink, it seems that this bug is fixed.

I confimed this in Chromium 31.0.1624.0 (221710)(Blink 537.36 (@157356)).
Also, the spec bug has been resolved from way back.
Any progress? Chrome and IE are consistent with D3E, and Firefox still with D2E. Hmm... now I see that Firefox have correct behaviour a long time ago: << contains a good testcase

Comment 8

3 years ago
Created attachment 8411624 [details] [diff] [review]

Okay, let's take this into 31 which is next ESR.
Attachment #576366 - Attachment is obsolete: true
Attachment #8411624 - Flags: review?(bugs)

Comment 9

3 years ago
Why should mousemove be cancelable?
Comment on attachment 8411624 [details] [diff] [review]

Ah, hmm, selection handling might in theory need this.
Attachment #8411624 - Flags: review?(bugs) → review+

Comment 11

3 years ago
(In reply to Olli Pettay [:smaug] from comment #9)
> Why should mousemove be cancelable?

For the odd spec change... We discussed about this in the last D3E meeting, though.

Comment 12

3 years ago
Last Resolved: 3 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla31
You need to log in before you can comment on or make changes to this bug.