SVGURIReference

SVGURIReference interface is used to reflect the href attribute and the deprecated xlink:href 属性。

特性

SVGURIReference.href 只读
An 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
  • reflects the href attribute, and
  • if the element is defined to support the deprecated xlink:href attribute, additionally reflects that deprecated attribute.

方法

This interface does not provide any specific methods.

规范

规范 状态 Comment
Scalable Vector Graphics (SVG) 2
The definition of 'SVGURIReference' in that specification.
候选推荐 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 初始定义

浏览器兼容性

更新 GitHub 上的兼容性数据
Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari Android webview Chrome for Android Firefox for Android Opera for Android Safari on iOS Samsung Internet
SVGURIReference Chrome ? Edge ? Firefox ? IE ? Opera ? Safari ? WebView Android ? Chrome Android ? Firefox Android ? Opera Android ? Safari iOS ? Samsung Internet Android ?

图例

兼容性未知
兼容性未知
  1. SVGURIReference
  2. 实现通过:
    1. SVGAElement
    2. SVGAltGlyphElement
    3. SVGCursorElement
    4. SVGFEImageElement
    5. SVGFilterElement
    6. SVGGradientElement
    7. SVGImageElement
    8. SVGMPathElement
    9. SVGPatternElement
    10. SVGScriptElement
    11. SVGTextPathElement
    12. SVGUseElement
  3. Related pages for SVG
    1. SVGAElement
    2. SVGAltGlyphElement
    3. SVGAngle
    4. SVGAnimateColorElement
    5. SVGAnimateElement
    6. SVGAnimateMotionElement
    7. SVGAnimateTransformElement
    8. SVGAnimatedAngle
    9. SVGAnimatedBoolean
    10. SVGAnimatedEnumeration
    11. SVGAnimatedInteger
    12. SVGAnimatedLength
    13. SVGAnimatedLengthList
    14. SVGAnimatedNumber
    15. SVGAnimatedNumberList
    16. SVGAnimatedPathData
    17. SVGAnimatedPoints
    18. SVGAnimatedPreserveAspectRatio
    19. SVGAnimatedRect
    20. SVGAnimatedString
    21. SVGAnimatedTransformList
    22. SVGAnimationElement
    23. SVGCircleElement
    24. SVGClipPathElement
    25. SVGComponentTransferFunctionElement
    26. SVGCursorElement
    27. SVGDefsElement
    28. SVGDescElement
    29. SVGDocument
    30. SVGElement
    31. SVGEllipseElement
    32. SVGFEBlendElement
    33. SVGFEColorMatrixElement
    34. SVGFEComponentTransferElement
    35. SVGFECompositeElement
    36. SVGFEConvolveMatrixElement
    37. SVGFEDiffuseLightingElement
    38. SVGFEDisplacementMapElement
    39. SVGFEDistantLightElement
    40. SVGFEDropShadowElement
    41. SVGFEFloodElement
    42. SVGFEFuncAElement
    43. SVGFEFuncBElement
    44. SVGFEFuncGElement
    45. SVGFEFuncRElement
    46. SVGFEGaussianBlurElement
    47. SVGFEImageElement
    48. SVGFEMergeElement
    49. SVGFEMergeNodeElement
    50. SVGFEMorphologyElement
    51. SVGFEOffsetElement
    52. SVGFEPointLightElement
    53. SVGFESpecularLightingElement
    54. SVGFESpotLightElement
    55. SVGFETileElement
    56. SVGFETurbulenceElement
    57. SVGFilterElement
    58. SVGFilterPrimitiveStandardAttributes
    59. SVGFitToViewBox
    60. SVGFontElement
    61. SVGFontFaceElement
    62. SVGFontFaceFormatElement
    63. SVGFontFaceNameElement
    64. SVGFontFaceSrcElement
    65. SVGFontFaceUriElement
    66. SVGForeignObjectElement
    67. SVGGElement
    68. SVGGlyphElement
    69. SVGGradientElement
    70. SVGGraphicsElement
    71. SVGHKernElement
    72. SVGImageElement
    73. SVGLength
    74. SVGLengthList
    75. SVGLineElement
    76. SVGLinearGradientElement
    77. SVGMPathElement
    78. SVGMarkerElement
    79. SVGMaskElement
    80. SVGMatrix
    81. SVGMetadataElement
    82. SVGMissingGlyphElement
    83. SVGNumber
    84. SVGNumberList
    85. SVGPathElement
    86. SVGPathSeg
    87. SVGPathSegArcAbs
    88. SVGPathSegArcRel
    89. SVGPathSegClosePath
    90. SVGPathSegCurvetoCubicAbs
    91. SVGPathSegCurvetoCubicRel
    92. SVGPathSegCurvetoCubicSmoothAbs
    93. SVGPathSegCurvetoCubicSmoothRel
    94. SVGPathSegCurvetoQuadraticAbs
    95. SVGPathSegCurvetoQuadraticRel
    96. SVGPathSegCurvetoQuadraticSmoothAbs
    97. SVGPathSegCurvetoQuadraticSmoothRel
    98. SVGPathSegLinetoAbs
    99. SVGPathSegLinetoHorizontalAbs
    100. SVGPathSegLinetoHorizontalRel
    101. SVGPathSegLinetoRel
    102. SVGPathSegLinetoVerticalAbs
    103. SVGPathSegLinetoVerticalRel
    104. SVGPathSegList
    105. SVGPathSegMovetoAbs
    106. SVGPathSegMovetoRel
    107. SVGPatternElement
    108. SVGPoint
    109. SVGPointList
    110. SVGPolygonElement
    111. SVGPolylineElement
    112. SVGPreserveAspectRatio
    113. SVGRadialGradientElement
    114. SVGRect
    115. SVGRectElement
    116. SVGSVGElement
    117. SVGScriptElement
    118. SVGSetElement
    119. SVGStopElement
    120. SVGStringList
    121. SVGStylable
    122. SVGStyleElement
    123. SVGSwitchElement
    124. SVGSymbolElement
    125. SVGTRefElement
    126. SVGTSpanElement
    127. SVGTests
    128. SVGTextContentElement
    129. SVGTextElement
    130. SVGTextPathElement
    131. SVGTextPositioningElement
    132. SVGTitleElement
    133. SVGTransform
    134. SVGTransformList
    135. SVGTransformable
    136. SVGUnitTypes
    137. SVGUseElement
    138. SVGVKernElement
    139. SVGViewElement
    140. SVGZoomAndPan
    141. SVGZoomEvent
    142. TimeEvent