Re: [w3c/webcomponents] SVG use element can't reference an element within the same shadow tree (#772)

@yGuy my understanding of the rough consensus this is that your example (from another issue) will work fine:

```html
<template>
    <p>You should see a black and a red circle.</p>
    <svg xmlns="http://www.w3.org/2000/svg" width="100px" height="100px" viewport="0 0 100 100">
        <defs>
           <circle id="myBlackCircle"      r="10" cx="10" cy="10" fill="black"></circle>
           <circle id="myRedCircle"         r="10" cx="14" cy="14" fill="red"></circle>
        </defs>
       <use href="#myBlackCircle"></use>
       <use xlink:href="#myRedCircle"></use>
    </svg>
</template>
```

It certainly works fine in Chrome and FF as far AFAIK. @rniwa we should add this topic to the agenda for the next F2F meeting to see if we can consolidate that consensus.

-- 
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/772#issuecomment-466611425

Received on Saturday, 23 February 2019 03:20:09 UTC