We're looking for a user researcher to understand the needs of developers and designers. Is this you or someone you know? Check out the post: https://mzl.la/2IGzdXS

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

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support Yes Yes129 ? ?
hasextension Yes — 471 ? ? ? ? ?
requiredFeatures Yes — 591 ? ? ? ? ?
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support Yes Yes Yes ? ? ? ?
hasextension Yes — 471 Yes — 471 ? ? ? ? ?
requiredFeatures Yes — 591 Yes — 591 ? ? ? ? ?

1. Removed because it is not part of the SVG2 spec.

Document Tags and Contributors

Last updated by: fscholz,