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

The implication of the case 1+ above is that once you attach a shadow root, then `:host > span` starts to indicate the direct children of shadow root which is `<span>`. 

The actual `<span>Hello World</span>` is still a child of shadow host, and even though it is slotted to appear as if it's a child of `<my-element>`, it's not an immediate child of the shadow root, therefore `:host > span` selector doesn't match.

I hope we are on the same page.

-- 
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-371390295

Received on Thursday, 8 March 2018 06:12:35 UTC