[Webkit-unassigned] [Bug 188561] New: mouseenter/leave events don't work per spec because of optimizations in EventHandler.cpp

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 14 10:46:21 PDT 2018


https://bugs.webkit.org/show_bug.cgi?id=188561

            Bug ID: 188561
           Summary: mouseenter/leave events don't work per spec because of
                    optimizations in EventHandler.cpp
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Event Handling
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: bugs at pettay.fi
                CC: rniwa at webkit.org

Created attachment 347090

  --> https://bugs.webkit.org/attachment.cgi?id=347090&action=review

testcase, move mouse to top left corner, open console and reload and move mouse per instructions

Per UIEvent spec, mouseenter/leave are composed events, so they do propagate from shadow DOM to host.
But, assuming I'm reading the code right, the optimizations in EventHandler.cpp make mouseenter/leave handling depend on whether there are capturing event listeners, even though the listener on host can be
bubbling listener, since when event is handled at that level, it is AT_TARGET, and all the listeners should be called.

https://trac.webkit.org/browser/webkit/trunk/Source/WebCore/page/EventHandler.cpp#L2529

-- 
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/20180814/6cd0b43b/attachment.html>


More information about the webkit-unassigned mailing list