Join MDN and developers like you at Mozilla's View Source conference, November 2-4 in Portland, Oregon. Learn more at


SVG tests interface

Interface SVGTests defines an interface which applies to all elements which have attributes requiredFeatures, requiredExtensions and systemLanguage.

Interface overview

Also implement None
  • boolean hasExtension(in DOMString extension)
Normative document SVG 1.1 (2nd Edition)


Name Type Description
requiredFeatures SVGStringList Corresponds to attribute requiredFeatures on the given element.
requiredExtensions SVGStringList Corresponds to attribute requiredExtensions on the given element.
systemLanguage SVGStringList Corresponds to attribute systemLanguage on the given element.


Name & Arguments Return Description
hasExtension(in DOMString extension) boolean Returns true if the browser supports the given extension, specified by a URI.

Browser compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support ? 12 (12) 9.0 ? ?
Feature Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support Not supported 12.0 (12) ? ? ?


Document Tags and Contributors

Contributors to this page: fscholz, kscarfone, Sheppy, kohei.yoshino, Jeremie, Longsonr
Last updated by: fscholz,