[Webkit-unassigned] [Bug 211640] Fix wpt shadow-dom/slots-fallback-in-document.html

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri May 8 14:17:39 PDT 2020


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

Darin Adler <darin at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |darin at apple.com

--- Comment #3 from Darin Adler <darin at apple.com> ---
Comment on attachment 398885
  --> https://bugs.webkit.org/attachment.cgi?id=398885
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=398885&action=review

> Source/WebCore/html/HTMLSlotElement.cpp:123
> -        if (is<HTMLSlotElement>(*node))
> +        if (is<HTMLSlotElement>(*node) && downcast<HTMLSlotElement>(*node).containingShadowRoot())

Why is this different from the code above that iterates children?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200508/223ff30b/attachment.htm>


More information about the webkit-unassigned mailing list