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

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidEdge MobileFirefox for AndroidOpera for AndroidiOS SafariSamsung Internet
Basic supportChrome Full support YesEdge Full support YesFirefox Full support 12IE Full support 9Opera ? Safari ? WebView Android Full support YesChrome Android Full support YesEdge Mobile Full support YesFirefox Android ? Opera Android ? Safari iOS ? Samsung Internet Android ?
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.
Edge Mobile ? Firefox Android ? Opera Android ? Safari iOS ? Samsung Internet Android ?
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.
Edge Mobile ? Firefox Android ? Opera Android ? Safari iOS ? Samsung Internet Android ?

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.

Document Tags and Contributors

Last updated by: fscholz,