Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

SVGStyleElement

我们的志愿者还没有将这篇文章翻译为 中文 (简体)加入我们帮助完成翻译!

SVG style interface

The SVGStyleElement interface corresponds to the SVG <style> element.

Interface overview

Also implement SVGElementSVGLangSpace
Methods None
Properties
Normative document SVG 1.1 (2nd Edition)

Properties

Name Type Description
type DOMString Corresponds to attribute type on the given element. A DOMException is raised with code NO_MODIFICATION_ALLOWED_ERR on an attempt to change the value of a read-only attribute.
media DOMString Corresponds to attribute media on the given element. A DOMException is raised with code NO_MODIFICATION_ALLOWED_ERR on an attempt to change the value of a read-only attribute.
title DOMString Corresponds to attribute title on the given element. A DOMException is raised with code NO_MODIFICATION_ALLOWED_ERR on an attempt to change the value of a read-only attribute.

Methods

The SVGStyleElement interface does not provide any specific methods.

Browser compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support ? ? ? ? ?
Feature Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support No support ? ? ? ?

 

文档标签和贡献者

 此页面的贡献者: Alhadis, fscholz, kscarfone, Sheppy, Jeremie
 最后编辑者: Alhadis,