[Webkit-unassigned] [Bug 186094] New: mouseout and mouseleave should not be dispatched on removed DOM node
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed May 30 07:43:48 PDT 2018
https://bugs.webkit.org/show_bug.cgi?id=186094
Bug ID: 186094
Summary: mouseout and mouseleave should not be dispatched on
removed DOM node
Product: WebKit
Version: Safari 11
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: HTML Events
Assignee: webkit-unassigned at lists.webkit.org
Reporter: flackr at chromium.org
Visit http://output.jsbin.com/sekaqit
Move the mouse over the gray hover me box
The mouseenter listener removes the gray box
According to https://www.w3.org/TR/uievents/#events-mouseevent-event-order:
If the event target (e.g. the target element) is removed from the DOM during the mouse events sequence, the remaining events of the sequence MUST NOT be fired on that element.
However, in Safari the mouseout and mouseleave events are fired. If you delay removing the DOM node, they are fired the next time the mouse is moved.
If my reading of the spec is correct, Safari should not be dispatching mouseout and mouseleave on the removed node.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180530/2daa6790/attachment-0001.html>
More information about the webkit-unassigned
mailing list