[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:36:24 PDT 2020
https://bugs.webkit.org/show_bug.cgi?id=211640
--- Comment #4 from Tetsuharu Ohzeki <tetsuharu.ohzeki at gmail.com> ---
(In reply to Darin Adler from comment #3)
> Comment on attachment 398885 [details]
> 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?
This condition changing is correspond to the spec[1], step 5-1-1.
[1]: https://dom.spec.whatwg.org/#find-flattened-slotables
--
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/2f8c8a1b/attachment.htm>
More information about the webkit-unassigned
mailing list