[Webkit-unassigned] [Bug 86707] document.activeElement should not return an element not in the document tree

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 26 20:57:53 PDT 2012


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





--- Comment #4 from Alexey Proskuryakov (on vacation until 7/18) <ap at webkit.org>  2012-06-26 20:57:51 PST ---
> > Using Node::inDocument() would be preferred in this case. attached() has slightly different semantics.
> We should use Node::isFocusable() and/or Node::supportsFocus().

Please add a test that would have failed if any of these incorrect checks were used.

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