[Webkit-unassigned] [Bug 18930] mouseenter and mouseleave events not supported

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 27 08:11:08 PDT 2012


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


Allan Sandfeld Jensen <allan.jensen at digia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |allan.jensen at digia.com




--- Comment #24 from Allan Sandfeld Jensen <allan.jensen at digia.com>  2012-09-27 08:11:32 PST ---
(In reply to comment #23)
> (From update of attachment 165998 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=165998&action=review
> 
> > Source/WebCore/dom/Node.cpp:2739
> > +        if (!hovered() && hasEventListeners(eventNames().mouseleaveEvent)) {
> 
> hasEventListeners is not correct. We need to check if any of the ancestors have an event listener for this.

Not when the event doesn't bubble, of course if we want capture to work, then we would need to check all the ancestor.

-- 
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