Re: [svgwg] Referencing SVGs through USE from other domains (#707)

I agree that this is important.  It is a significant limitation for SVG the crossorigin `use` references aren't supported.  I think you make a good point, that this encourages *less* safe practices by authors.

When the `crossorigin` attribute was originally added to SVG, `<use>` was included. It was removed in 2015 because of concern about the details about how `<use>` imports should work.  But even then, the plan was to add it back in eventually. (See [discussion minutes & resolution](https://www.w3.org/2015/06/09-svg-minutes.html#action02))

Many of the issues that were brought up in that discussion (about how the use element shadow DOM model should work & how external files should be parsed) have since been resolved (although the current spec text doesn't reflect all the resolutions that have been made in other issues).  So it may be worth reconsidering.



-- 
GitHub Notification of comment by AmeliaBR
Please view or discuss this issue at https://github.com/w3c/svgwg/issues/707#issuecomment-507333984 using your GitHub account

Received on Monday, 1 July 2019 16:22:49 UTC