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 therequiredFeatures
attribute of the given element. SVGTests.requiredExtensions
Read only- An
SVGStringList
corresponding to therequiredExtensions
attribute of the given element. SVGTests.systemLanguage
Read only- An
SVGStringList
corresponding to thesystemLanguage
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
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
Update compatibility data on GitHub
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
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 |
|
Chrome No support ? — 47 No support ? — 47 Notes' Removed because it is not part of the SVG2 spec. |
Edge
? |
Firefox
? |
IE
? |
Opera
? |
Safari
? |
WebView Android No support ? — 47 No support ? — 47 Notes' Removed because it is not part of the SVG2 spec. |
Chrome Android No support ? — 47 No support ? — 47 Notes' Removed because it is not part of the SVG2 spec. |
Firefox Android
? |
Opera Android
? |
Safari iOS
? |
Samsung Internet Android No support ? — 5.0 No support ? — 5.0 Notes' Removed because it is not part of the SVG2 spec. |
|
Chrome No support ? — 59 No support ? — 59 Notes' Removed because it is not part of the SVG2 spec. |
Edge
? |
Firefox
? |
IE
? |
Opera
? |
Safari
? |
WebView Android No support ? — 59 No support ? — 59 Notes' Removed because it is not part of the SVG2 spec. |
Chrome Android No support ? — 59 No support ? — 59 Notes' Removed because it is not part of the SVG2 spec. |
Firefox Android
? |
Opera Android
? |
Safari iOS
? |
Samsung Internet Android No support ? — 7.0 No support ? — 7.0 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.
SVGTests by Mozilla Contributors is licensed under CC-BY-SA 2.5.