[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
Fri Mar 16 05:14:05 PDT 2012


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





--- Comment #18 from Hajime Morrita <morrita at google.com>  2012-03-16 05:14:05 PST ---
(From update of attachment 132250)
View in context: https://bugs.webkit.org/attachment.cgi?id=132250&action=review

>> Source/WebCore/dom/Element.cpp:1591
>> +bool Element::nodeIsInShadowTree(Node* focused)
> 
> |focused| looks too specific name.
> This method doesn't need to mention about focus.

Also, it looks we can ASSERT(focused != this) because the check is done by the caller site.
It will clarify the point because this function check if the "node is in shadow tree."

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