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 compatibility

DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
SVGTestsChrome Full support YesEdge Full support 12Firefox Full support 12IE Full support 9Opera ? Safari ? WebView Android Full support YesChrome Android Full support YesFirefox Android ? Opera Android ? Safari iOS ? Samsung Internet Android Full support Yes
hasextension
Deprecated
Chrome No support ? — 47
Notes
No support ? — 47
Notes
Notes Removed because it is not part of the SVG2 spec.
Edge ? Firefox ? IE ? Opera ? Safari ? WebView Android No support ? — 47
Notes
No support ? — 47
Notes
Notes Removed because it is not part of the SVG2 spec.
Chrome Android No support ? — 47
Notes
No support ? — 47
Notes
Notes Removed because it is not part of the SVG2 spec.
Firefox Android ? Opera Android ? Safari iOS ? Samsung Internet Android No support ? — 5.0
Notes
No support ? — 5.0
Notes
Notes Removed because it is not part of the SVG2 spec.
requiredFeatures
Deprecated
Chrome No support ? — 59
Notes
No support ? — 59
Notes
Notes Removed because it is not part of the SVG2 spec.
Edge ? Firefox ? IE ? Opera ? Safari ? WebView Android No support ? — 59
Notes
No support ? — 59
Notes
Notes Removed because it is not part of the SVG2 spec.
Chrome Android No support ? — 59
Notes
No support ? — 59
Notes
Notes Removed because it is not part of the SVG2 spec.
Firefox Android ? Opera Android ? Safari iOS ? Samsung Internet Android No support ? — 7.0
Notes
No support ? — 7.0
Notes
Notes Removed because it is not part of the SVG2 spec.

Legend

Full support
Full support
No support
No support
Compatibility unknown
Compatibility unknown
Deprecated. Not for use in new websites.
Deprecated. Not for use in new websites.
See implementation notes.
See implementation notes.