[Webkit-unassigned] [Bug 14364] New: Elements with visibility:hidden can still receive "onmouseover" and "onclick" events
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Jun 24 02:11:44 PDT 2007
http://bugs.webkit.org/show_bug.cgi?id=14364
Summary: Elements with visibility:hidden can still receive
"onmouseover" and "onclick" events
Product: WebKit
Version: 419.x
Platform: Macintosh
OS/Version: Mac OS X 10.4
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: New Bugs
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: snyderp at gmail.com
If I set an element with an "onmouseover" or an "onclick" event, and then set
the element to be "visibility:hidden," webkit still triggers those events.
For example, say I make a button out of a div, and register its onmouseover
event to change the cursor to the pointer. Then I want to hide the button from
the user with out affecting the page's layout, so I make the div "hidden."
Webkit would still change the cursor to the pointer when I mouse over the empty
spot on the page where the div "used to be" (in the eye of the user).
As far as I can tell, the CSS specs are silent on what should happen here.
Gecko doesn't seem to trigger events like "onmouseover" or "onclick" on hidden
elements, which seems more intuitive and helpful. Webkit should probably do
the same.
--
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list