- From: Thomas Di Grégorio <notifications@github.com>
- Date: Wed, 24 Oct 2018 13:07:13 -0700
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 24 October 2018 20:07:35 UTC
So it won't be possible to use <svg> symbol library in main document with web components using it in their shadow DOM's <use> element? So what we will have to create a web component for each icon to be able to embed it shadow DOMs? Or create a DOM observer to automatically copy the hole <svg> library it each nested component's shadow ? Such a loose of processor cycles for nothing! The option 3 is a must have for web components to succed... May I prupose Option 4 (Something else) : Why not let the web dev choose by letting them configure the shadow DOM's frontier? Something fine tuned like : ```javascript node.attashShadow({ style: "closed", idref: "open", events: "document" }) ``` With all this shadow closing boundaries going to unsolvable problems, maybe the final answer is yes sometime, and no some other time, so with this fine tuning each case can be made depending on what's needed... -- 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/179#issuecomment-432809156
Received on Wednesday, 24 October 2018 20:07:35 UTC