[Webkit-unassigned] [Bug 99682] New: onmouseover doesn't get triggered consistently by DOM manipulation
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Oct 17 22:22:13 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=99682
Summary: onmouseover doesn't get triggered consistently by DOM
manipulation
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: HTML Events
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: yeecheng.chin+webkit at gmail.com
In an HTML page when two elements overlap, and the top element is hidden by setting the display to "none", the bottom element's onmouseover event doesn't always get sent.
In particular, in the attached test page, I have it set up so the top element is hidden when I click on it. In the first case the CSS change happens immediately during the click event handler and the bottom element does get the mouse over event. In the second case, I set a timer to set the CSS display to "none" later, and the onmouseover event didn't get sent. Seems like this depends on whether the DOM manipulation happens during a mouse event handler.
Two additional notes:
1) The :hover state gets triggered immediately in both cases, which seems weird to me. Basically :hover is triggered, but onmouseover isn't.
2) This seems to work correctly in Firefox/Gecko.
--
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