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

@hayatoito 

>  On getting, the attribute must return the assigned slot of the context object, if there is, and the assigned slot's root's mode is "open". *Otherwise must return null.*

What if it's closed? My problem is that to construct an efficient WebGL tree from my HTML interface, I need to mirror the flat tree if I want the WebGL portion to match with it. But at the same time, I can't tell ever developer to leave their shadow root open, and nor can one who is merely re-using components make the guarantee about all the components they use having open shadow trees.

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

Received on Friday, 3 June 2016 02:40:18 UTC