Bug 135320
Summary: | mouseenter event of child element is fired before parent's | ||
---|---|---|---|
Product: | WebKit | Reporter: | Hristo Chakarov <mail> |
Component: | UI Events | Assignee: | 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
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Ahmad Saleem
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
Thanks for getting to this 8 years later :)