[Webkit-unassigned] [Bug 128534] New: 'mouseenter' mouse compat event not fired when listeners for touch events
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Feb 10 08:02:14 PST 2014
https://bugs.webkit.org/show_bug.cgi?id=128534
Summary: 'mouseenter' mouse compat event not fired when
listeners for touch events
Product: WebKit
Version: 528+ (Nightly build)
Platform: iOS
OS/Version: iOS 7.0
Status: NEW
Severity: Minor
Priority: P3
Component: Event Handling
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: redux at splintered.co.uk
Not sure if it's a bug or a "feature", but in any case it's a strange inconsistency and I'd like clarification if it's intended behavior or not: it seems that "mouseenter" mouse compatibility event is only fired if there are no touch* events also being listened to.
on iOS/Safari, go to http://patrickhlauke.github.io/touch/tests/event-listener_mouse-only.html and tap the test button. This page only shows the mouse events, and the sequence of events for a clean tap are usually:
mousenter > mouseover > mousemove > mousedown > mouseup > click
now, on http://patrickhlauke.github.io/touch/tests/event-listener_all-no-timings.html doing the same clean tap results in:
touchstart > touchend > mouseover > mousemove > mousedown > mouseup > click
Note that "mouseenter" is absent in this case. The only difference in the scripts here is that the second example also listens for touch events (as well as pointer events, with and without MS prefix, but surely that shouldn't have any effect).
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list