[Webkit-unassigned] [Bug 81102] blur() on shadow host should work when a shadow host contains a focused element in its shadow DOM subtrees.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Mar 19 03:45:28 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=81102
--- Comment #34 from Hajime Morrita <morrita at google.com> 2012-03-19 03:45:27 PST ---
(From update of attachment 132554)
View in context: https://bugs.webkit.org/attachment.cgi?id=132554&action=review
> Source/WebCore/dom/TreeScope.cpp:193
> + return this == document ? document->body() : 0;
If you have override this as Document::activeElement(), you can do this check there instead of here.
The point is that Document is a subclass of TreeScope and we can take this logic as a specialization for Document.
--
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