MDN’s new design is in Beta! A sneak peek: https://blog.mozilla.org/opendesign/mdns-new-design-beta/

SVGテスト

この翻訳は不完全です。英語から この記事を翻訳 してください。

SVG テストインターフェイス

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

インターフェイス概要

Also implement None
Methods
  • boolean hasExtension(in DOMString extension)
Properties
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.

ブラウザー互換性

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support (有) [1] 12 (12) 9.0 ? ?
Feature Android Android Webview Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile Chrome for Android
Basic support 未サポート (有) [1] 12.0 (12) ? ? ? (有) [1]

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

ドキュメントのタグと貢献者

 このページの貢献者: Uemmra3
 最終更新者: Uemmra3,