nsIDOMCSSStyleSheet

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

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


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.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com