Bug 135320

Summary: mouseenter event of child element is fired before parent's
Product: WebKit Reporter: Hristo Chakarov <mail>
Component: UI EventsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: ahmad.saleem792, ap, rniwa
Priority: P3    
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.9   
URL: http://jsfiddle.net/4FFFn/2/

Hristo Chakarov
Reported 2014-07-25 23:34:08 PDT
If I have 2 nested elements (parent and child) and I listen for "mouseenter" on both, and if I quickly move the cursor over the child element, it's "mouseenter" is fired BEFORE parent's "mouseenter". It should be the opposite. The issue is observed in Webkit, MacOS (Chrome, Safari). The issue cannot be reproduced in Firefox/MacOS. Test case: http://jsfiddle.net/4FFFn/2/
Attachments
Ahmad Saleem
Comment 1 2022-09-29 15:23:31 PDT
I am not able to reproduce this bug using the test case from URL field and all browser show 'parent' first and then 'inner' upon mouse hover. I confirmed this behavior with Safari 16, Chrome Canary 108 and Firefox Nightly 107. Marking this as "RESOLVED CONFIGURATION CHANGED". Thanks!
Hristo Chakarov
Comment 2 2022-09-29 21:57:41 PDT
Thanks for getting to this 8 years later :)
Note You need to log in before you can comment on or make changes to this bug.