[Webkit-unassigned] [Bug 71788] <area>-tag within <map> can get focus when it is hidden

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 20 01:35:38 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=71788


Andy Estes <aestes at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #132564|review?                     |review-
               Flag|                            |




--- Comment #7 from Andy Estes <aestes at apple.com>  2012-03-20 01:35:38 PST ---
(From update of attachment 132564)
This doesn't seem like the right approach. For one, I don't think checking for a renderer handles all visibility cases properly (e.g. visibility:hidden).

To me, the bug appears to be that HTMLAreaElement::isKeyboardFocusable() is lying to us by returning true even though the element is not visible and therefore not focusable. Other focusable nodes return false from isKeyboardFocusable() in this case (e.g. HTMLFormControlElement), so HTMLAraeElement should do this as well. In fact, it looks like the logic you want already exists in Node::isFocusable(), so the bug appears to be that HTMLAreaElement isn't properly delegating to its superclass.

-- 
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