Bug 20112 - pointerenter and pointerleave events
pointerenter and pointerleave events
Product: PointerEventsWG
Classification: Unclassified
Component: Pointer Events specification
PC Windows NT
: P2 normal
: ---
Assigned To: Jacob Rossi [MSFT]
This bug has no owner yet - up for the taking
Depends on:
  Show dependency treegraph
Reported: 2012-11-28 01:39 UTC by Jacob Rossi [MSFT]
Modified: 2012-12-09 19:34 UTC (History)
3 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Jacob Rossi [MSFT] 2012-11-28 01:39:51 UTC
DOM Level 3 Events defines mouseenter/mouseleave hit testing transition events.[[1] These events are different from mouseover/mouseout in that the mouse has not "left" the element simply because it went over a child (and the events do not bubble).  This makes mouseenter/leave the event analog to the CSS :hover state.[2]

Pointer events should support this concept via pointerenter/pointerleave events (supporting multi-pointer interactions as well). [3,4]

[1] http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html#event-type-mouseenter
[2] http://www.w3.org/TR/CSS21/selector.html#dynamic-pseudo-classes
[3] http://lists.w3.org/Archives/Public/public-pointer-events/2012OctDec/0052.html
[4] http://lists.w3.org/Archives/Public/public-pointer-events/2012OctDec/0035.html
Comment 1 Jacob Rossi [MSFT] 2012-12-09 19:34:02 UTC
Per 12/4 telecon resolution, making this change as suggested.