svg-sprite-loader icon indicating copy to clipboard operation
svg-sprite-loader copied to clipboard

xlink is deprecated in SVG 2

Open equinusocio opened this issue 4 years ago • 0 comments

What is the current behavior?

<use xlink:href="#id">

What is the expected behavior?

<use href="#id">

If this is a feature request, what is motivation or use case for changing the behavior?

SVG 2 deprecated the xlink attribute, all major browsers now support the new standard href inside the use element. More info here: https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/xlink:href

equinusocio avatar Dec 23 '20 11:12 equinusocio