Bug 135320 - mouseenter event of child element is fired before parent's
Summary: mouseenter event of child element is fired before parent's
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: UI Events (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.9
: P3 Normal
Assignee: Nobody
URL: http://jsfiddle.net/4FFFn/2/
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-25 23:34 PDT by Hristo Chakarov
Modified: 2022-09-29 21:57 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hristo Chakarov 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/
Comment 1 Ahmad Saleem 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!
Comment 2 Hristo Chakarov 2022-09-29 21:57:41 PDT
Thanks for getting to this 8 years later :)