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

Thanks for the elaborate description, @AmeliaBR!

@annevk : Sorry, yes, I meant to say `xlink:href` in https://github.com/w3c/webcomponents/issues/179#issuecomment-321475640

Note that WebKit doesn't support `href` on SVG's `use` element so only `xlink:href` works (see https://webkit.org/b/153854).

I would not be comfortable changing the definition of `xlink:href` just for `use` element. On the other hand, I expect changing the behavior of `xlink:href` for all cases involving shadow DOM to be even more controversial and not web/enterprise-content compatible.

Given that, I'm inclined to say that we should introduce a new SVG content attribute for `use` element which resolves like CSS ID.

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

Received on Thursday, 2 August 2018 02:48:04 UTC