Re: [w3c/webcomponents] How can a custom element detect when it is transcluded into a shadow tree? (#504)

I don't think you can create a flat tree mirror for closed shadow trees because all those slots that may have distributed contents would not be accessible from your code.  You may need to do something like overriding `Element.prototype.attachShadow` and intercepting all the calls to that function.

---
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/504#issuecomment-223739290

Received on Saturday, 4 June 2016 06:17:33 UTC