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 20112 - pointerenter and pointerleave events
Summary: pointerenter and pointerleave events
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: This bug has no owner yet - up for the taking
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-28 01:39 UTC by Jacob Rossi [MSFT]
Modified: 2012-12-09 19:34 UTC (History)
3 users (show)

See Also:


Attachments

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.
http://lists.w3.org/Archives/Public/public-pointer-events/2012OctDec/0091.html
http://dvcs.w3.org/hg/pointerevents/rev/f2084982c980