Re: [w3c/webcomponents] [idea] childConnectedCallback and childDisconnectedCallback (#550)

> `this.ownerDocument.contains(this)`

I just gave it a try, and it seems to return `false` on elements in a shadow root. @rniwa's [`isConnected` polyfill](https://github.com/w3c/webcomponents/issues/789#issuecomment-459858405) traverses up to check shadow hosts.

-- 
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/550#issuecomment-459997927

Received on Saturday, 2 February 2019 20:48:25 UTC