The SVGURIReference interface is used to reflect the href attribute and the deprecated xlink:href attribute.
SVGURIReference.href Read only
SVGAnimatedString that represents the value of the href attribute, and, on elements that are defined to support it, the deprecated xlink:href attribute. On getting href, an SVGAnimatedString object is returned that href attribute, andxlink:href attribute, additionally reflects that deprecated attribute.This interface does not provide any specific methods.
| Specification | Status | Comment |
|---|---|---|
| Scalable Vector Graphics (SVG) 2 The definition of 'SVGURIReference' in that specification. | Candidate Recommendation | Replaced the deprecated xlink:href attribute reference by the href attribute and made the prior only be reflected where it's defined to be supported. |
| Scalable Vector Graphics (SVG) 1.1 (Second Edition) The definition of 'SVGURIReference' in that specification. | Recommendation | Initial definition |
| Desktop | ||||||
|---|---|---|---|---|---|---|
| Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | |
| Basic support | ? | ? | ? | ? | ? | ? |
| Mobile | |||||||
|---|---|---|---|---|---|---|---|
| Android webview | Chrome for Android | Edge Mobile | Firefox for Android | Opera for Android | iOS Safari | Samsung Internet | |
| Basic support | ? | ? | ? | ? | ? | ? | ? |
© 2005–2018 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/SVGURIReference