Nos bénévoles n'ont pas encore traduit cet article en Français. Inscrivez-vous et aidez-nous à réaliser cette tâche !
Vous pouvez également lire cet article en English (US).

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

Feature Chrome Edge Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support (Yes)[1] (Yes) 12 (12) 9.0 ? ?
Feature Android Android Webview Chrome for Android Edge Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support No support (Yes)[1] (Yes)[1] (Yes) 12.0 (12) ? ? ?

[1] The hasExtension() method was removed in Chrome 47, because it is not part of the SVG2 spec.

Étiquettes et contributeurs liés au document

 Contributeurs à cette page : Sebastianz, mattwojo, jpmedley, fscholz, kscarfone, Sheppy, kohei.yoshino, Jeremie, Longsonr
 Dernière mise à jour par : Sebastianz,