Web/API/SVGTests

From Get docs


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) 2The 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

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
SVGTests Chrome

Full support Yes

Edge

Full support 12

Firefox

Full support 12

IE

Full support 9

Opera

?

Safari

?

WebView Android

Full support Yes

Chrome Android

Full support Yes

Firefox 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.