[Webkit-unassigned] [Bug 232261] ::part(foo) selector does not select elements inside shadow roots

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Nov 1 08:36:23 PDT 2021


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

--- Comment #4 from Nolan Lawson <nlawson at salesforce.com> ---
Thanks for the clarification. I can understand the case for having `:host::part(foo)` work, whereas `::part(foo)` shouldn't work. I suppose `::part(foo)` gets ambiguous if a component contains other components with the same part name.

>From a web developer's perspective, I think having just `:host::part(foo)` is adequate – the main thing is to have some way to reference one's own parts from within a component. (Of course `[part="foo"]` also works, but it feels a bit hacky since it's the part that matters, not the attribute.)

-- 
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/20211101/9d5cb332/attachment.htm>


More information about the webkit-unassigned mailing list