W3cubDocs

/DOM

SVGTests

The SVGTests interface is used to reflect conditional processing attributes and is mixed into other interfaces for elements that support these attributes.

Properties

SVGTests.requiredFeatures Read only
An SVGStringList corresponding to the requiredFeatures attribute of the given element.
SVGTests.requiredExtensions Read only
An SVGStringList corresponding to the requiredExtensions attribute of the given element.
SVGTests.systemLanguage Read only
An SVGStringList corresponding to the systemLanguage attribute of the given element.

Methods

SVGTests.hasExtension() Read only
Returns true if the browser supports the given extension, specified by a URI.

Specifications

Specification Status Comment
Scalable Vector Graphics (SVG) 2
The definition of 'SVGTests' in that specification.
Candidate Recommendation Removed requiredFeatures property and hasExtension() method.
Scalable Vector Graphics (SVG) 1.1 (Second Edition)
The definition of 'SVGTests' in that specification.
Recommendation Initial definition

Browser compatibilityUpdate compatibility data on GitHub

Desktop
Chrome Edge Firefox Internet Explorer Opera Safari
Basic support Yes Yes 12 9 ? ?
hasextension ? — 47
? — 47
Removed because it is not part of the SVG2 spec.
? ? ? ? ?
requiredFeatures ? — 59
? — 59
Removed because it is not part of the SVG2 spec.
? ? ? ? ?
Mobile
Android webview Chrome for Android Edge Mobile Firefox for Android Opera for Android iOS Safari Samsung Internet
Basic support Yes Yes Yes ? ? ? ?
hasextension ? — 47
? — 47
Removed because it is not part of the SVG2 spec.
? — 47
? — 47
Removed because it is not part of the SVG2 spec.
? ? ? ? ?
requiredFeatures ? — 59
? — 59
Removed because it is not part of the SVG2 spec.
? — 59
? — 59
Removed because it is not part of the SVG2 spec.
? ? ? ? ?

© 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/SVGTests