Closed Bug 1501921 Opened 7 years ago Closed 7 years ago

mouseenter/mouseleave are not fired on tap in Gecko

Categories

(Core :: DOM: Events, defect)

65 Branch
defect
Not set
normal

Tracking

()

RESOLVED INVALID
Tracking Status
firefox65 --- affected

People

(Reporter: karlcow, Unassigned)

References

Details

(Whiteboard: [webcompat])

To reproduce. 1. Enable touch events on Firefox (Through responsive design mode if you wish) 2. Go to https://w3c.github.io/uievents/tools/mouse-event-viewer.html 3. Tap ONCE green area. The sequence will be: 1. mousedown 2. mousemove 3. mouseup Do the same thing with chrome with touch mode on The sequence will be 1. mouseover 2. mouseenter (*) 3. mousemove 4. mousedown 5. mouseup The (*) mouseenter is why I'm reporting this here. This might create a Webcompat issue on the site (I'm not 100% sure yet). https://webcompat.com/issues/14287 Brian Birtles helped me find the references here. (Thanks!) It doesn't seem to be clearly defined in any of these places: https://w3c.github.io/uievents/#event-type-mouseenter https://w3c.github.io/pointerevents/#the-pointerenter-event https://w3c.github.io/touch-events/#mouse-events Chrome added it in https://bugs.chromium.org/p/chromium/issues/detail?id=457497 see the discussion in * https://lists.w3.org/Archives/Public/public-touchevents/2015Feb/0024.html * https://www.w3.org/2015/02/17-touchevents-minutes.html#item01
hmmm… spoke too fast? On an actual windows machine with a touch screen, mouseenter is fired on tap. But it's not on RDM with touch events on.
so on Firefox Android device I checked with https://w3c.github.io/uievents/tools/mouse-event-viewer.html and mouseenter is fired. So that's not the cause of the issue and I guess we can close this issue. as invalid because it's already working. Sorry about that.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
File a devtools issue on RDM? I've heard it has other event handling issues too.
I will do Olli. Thanks!
Reported in Bug 1501939
You need to log in before you can comment on or make changes to this bug.