SVGStyleElement

SVG style interfaceEdit

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

Interface overview

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

PropertiesEdit

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 attribut.
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 attribut.
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 attribut.

MethodsEdit

The SVGStyleElement interface do not provide any specific methods.

Browser compatibilityEdit

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support ? ? ? ? ?

 

Document Tags and Contributors

 Contributors to this page: fscholz, kscarfone, Sheppy, Jeremie
 Last updated by: fscholz,