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

FYI, I tried gathering some author feedback [via Twitter poll](https://mobile.twitter.com/AmeliasBrain/status/1052003947177697281). Didn't get a lot of responses, but the expectation seems to be that `<use href="#svg" clip-path="#web"/>` should look for those references in the same shadow tree, possibly falling back to searching parent trees if there is no match in the shadow.

> Web dev nerds! It's poll time again!
> 
> If you're using a shadow-DOM web component, and an element includes a # url reference, like:
> `<use href="#svg" clip-path="#web"/>`
> 
> Where would you expect the browser to look for the element with that `id` value?
> 
> (IDs are only unique per tree)
> 
> - Only in that shadow tree
>   53%
> - Only in the main document
>   12%
> - Search shadow, then main
>   30%
> - Something else (reply)
>   5%
> 
> 43 votes ยท Final results

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

Received on Tuesday, 23 October 2018 16:59:08 UTC