Re: [w3c/webcomponents] Provide a lightweight mechanism to add styles to a custom element (#468)

> In case of ":host > span", a selector matching should not traverse into the host's children in any case.
Instead, it should traverse into shadow root's children for ":host > span".

I don't see anything like that in https://drafts.csswg.org/css-scoping/#host-selector. `:host > span` would never apply because those rules are never matched against the span. But the shadow root's children thing also doesn't make sense to me. Does Blink really look at the parent element crossing the shadow root for this?

-- 
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/468#issuecomment-371452415

Received on Thursday, 8 March 2018 10:50:46 UTC