- From: Takayoshi Kochi <notifications@github.com>
- Date: Thu, 08 Mar 2018 05:44:38 +0000 (UTC)
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 8 March 2018 05:45:04 UTC
@annevk okay, so `:host` interpretation at selector matching varies depending on whether it has a shadow root or not. Then after the case 1 above, case 1+ ```js var myElement = document.querySelector('my-element'); var root = myElement.attachShadow({mode: 'open'}); root.innerHTML = `<slot></slot>`; ``` Then the `<span>Hello, World</span>` becomes *not matching* the selector. -- 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-371386025
Received on Thursday, 8 March 2018 05:45:04 UTC