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

Oh gosh, I didn't even think about the effect of scoped-IDs on frag-references. I guess it's the same issue as dealing with `@font-face`-defined names inside of a shadow tree.

So yeah, frag urls are special in `url()` - <https://drafts.csswg.org/css-values/#local-urls>. They stay fragments and are always treated as "local" to the referencing document no matter what the base url is.

It's a small hop from there to specifying that, within a shadow tree, they are scoped to referring only to the IDs defined in the shadow.  I'm fine with that - is that how we want to proceed? If so, I can bring it to the CSSWG and get it approved.

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

Received on Wednesday, 9 August 2017 17:27:06 UTC