Re: [w3c/webcomponents] How should various document internal references work when SVG is being used in shadow DOM (#179)

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