This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 24777 - Add tiny note to 11.2 - list item nr 2 (mousemove) to clarify the reason for it
Summary: Add tiny note to 11.2 - list item nr 2 (mousemove) to clarify the reason for it
Status: RESOLVED FIXED
Alias: None
Product: PointerEventsWG
Classification: Unclassified
Component: Pointer Events specification (show other bugs)
Version: unspecified
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Jacob Rossi [MSFT]
QA Contact: Pointer Events Bugzilla list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-22 20:55 UTC by Patrick H. Lauke
Modified: 2014-03-04 01:36 UTC (History)
1 user (show)

See Also:


Attachments

Description Patrick H. Lauke 2014-02-22 20:55:28 UTC
Currently 11.2 item 2 reads:

"If the pointer event to be dispatched is pointerover and the pointerdown event has not yet been dispatched for this pointer, then fire a mousemove event."

I wonder if it's worth adding a tiny clarification right at the end, to explain that this is done purely for compatibility (I usually call this a "sacrificial" mousemove when talking about touch events' mouse compat)

"If the pointer event to be dispatched is pointerover and the pointerdown event has not yet been dispatched for this pointer, then fire a mousemove event (for compatibility with legacy mouse-specific script)" or similar?
Comment 1 Jacob Rossi [MSFT] 2014-02-25 07:41:38 UTC
I figured this was covered by the following in 11.2's introduction:

"Much existing content coded to mouse events assumes that a mouse is producing the events and thus certain qualities are generally true: •The input can hover independently of activation (e.g. moving a mouse cursor without any buttons pressed)
•The input will likely produce the mousemove event on an element before clicking it"

If you don't think that's enough, I don't mind adding something inline as you suggested.
Comment 2 Jacob Rossi [MSFT] 2014-03-04 01:36:29 UTC
Change added as discussed in 2/25 telecon and in this bug:
https://dvcs.w3.org/hg/pointerevents/rev/11bba6e52c03