[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 11:32:08 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=71788
--- Comment #10 from Andy Estes <aestes at apple.com> 2012-03-20 11:32:08 PST ---
(In reply to comment #8)
> Thanks for the review. Will upload a modified patch.
>
> Just one query regs "Node::isFocusable".
> if (!renderer() || renderer()->style()->visibility() != VISIBLE)
>
> I think only "if (!renderer())" should work. As per my understanding hidden and display none element doesn't have renderer.
No, that's not right. Elements with visibility:hidden have renderers. That's why Node::isFocusable() handles that case separately.
--
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