この記事はまだボランティアによって 日本語 に翻訳されていません。ぜひ MDN に参加して翻訳を手伝ってください!
この記事を English (US) で読むこともできます。

The SVGScriptElement interface corresponds to the SVG <script> element.

Properties

SVGScriptElement.type Read only
A DOMString corresponding to the type attribute of the given <script> element. A DOMException is raised with the code NO_MODIFICATION_ALLOWED_ERR on an attempt to change the value of a read only attribut.
SVGScriptElement.crossOrigin Read only
A DOMString corresponding to the crossorigin attribute of the given <script> element.

Methods

This interface doesn't implement any specific methods, but inherits methods from its parent interface, SVGElement.

Specifications

Specification Status Comment
Scalable Vector Graphics (SVG) 2
The definition of 'SVGScriptElement' in that specification.
Candidate Recommendation Removed the implemented interface SVGExternalResourcesRequired and added the crossOrigin property.
Scalable Vector Graphics (SVG) 1.1 (Second Edition)
The definition of 'SVGScriptElement' in that specification.
Recommendation Initial definition

Browser compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support ? Yes ? ? ? ?
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support No ? Yes ? ? ? ?

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

このページの貢献者: fscholz, Sebastianz, mattwojo, kscarfone, Sheppy, Jeremie
最終更新者: fscholz,