- From: Takayoshi Kochi <notifications@github.com>
- Date: Thu, 08 Mar 2018 06:12:08 +0000 (UTC)
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 8 March 2018 06:12:35 UTC
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