[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 23:52:39 PDT 2012


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





--- Comment #5 from Arpita Bahuguna <arpitabahuguna at gmail.com>  2012-06-26 23:52:37 PST ---
(In reply to comment #4)
> > > 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.

http://trac.webkit.org/changeset/121079 has fixed this issue as well. It can probably be closed now.

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