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.

nsIDOMCSSStyleSheet

IID:a6cf90c2-15b3-11d2-932e-00805f8add32
Inherits From:nsIDOMStyleSheet

Properties

readonly nsIDOMCSSRuleList cssRules

readonly nsIDOMCSSRule ownerRule

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

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


Methods

void deleteRule ( PRUint32 index ) PRUint32 insertRule ( DOMString rule , PRUint32 index )

void deleteRule ( PRUint32 index )

Arguments:
index

PRUint32 insertRule ( DOMString rule , PRUint32 index )

Arguments:
rule
index

References

This interface is the type of the following properties:

nsIDOMCSSImportRule.styleSheet, nsIDOMCSSRule.parentStyleSheet

Reference documentation is generated from Mozilla's source.