WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

StyleSheet

This object is available to unprivileged JavaScript. It implements the following interfaces:

Properties

boolean disabled

readonly String href

readonly MediaList media

readonly Node ownerNode

readonly StyleSheet parentStyleSheet

readonly String title

readonly String type

The nsIDOMStyleSheet interface is a datatype for a style sheet in the Document Object Model.

For more information on this interface please see http://www.w3.org/TR/DOM-Level-2-Style

Reference documentation is generated from Mozilla's source.