[Webkit-unassigned] [Bug 86707] document.activeElement should not return a non-focusable element

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 28 00:11:38 PDT 2012


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





--- Comment #15 from Kent Tamura <tkent at chromium.org>  2012-06-28 00:11:37 PST ---
(From update of attachment 149727)
View in context: https://bugs.webkit.org/attachment.cgi?id=149727&action=review

> Source/WebCore/dom/Document.cpp:3763
> +    if (newFocusedNode && newFocusedNode->isFocusable()) {

I'm not sure if it's safe to use only isFocusable().
Do we need checks similar to Element::focus()?

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