Re: [w3c/webcomponents] Allowing CSS combinators postfixed to the ::slotted() selector (#889)

Ah, thank you for the code example.  This is not really about the `::slotted` selectors then.  This is about the fact that a web component cannot style or access any descendent greater than a direct child, or top-level nodes.  Your `.bar` class is nested, which is why `::slotted` cannot influence it. https://developers.google.com/web/fundamentals/web-components/shadowdom#slots

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/889#issuecomment-667689376

Received on Sunday, 2 August 2020 15:39:27 UTC