nsIDOMCSSRule

IID:a6cf90c1-15b3-11d2-932e-00805f8add32
Inherits From:nsISupports
Status:FROZEN

The nsIDOMCSSRule interface is a datatype for a CSS style rule in the Document Object Model.

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


Constants

The nsIDOMCSSRule interface is a datatype for a CSS style rule in the Document Object Model.

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

PRUint16 UNKNOWN_RULE = 0
PRUint16 STYLE_RULE = 1
PRUint16 CHARSET_RULE = 2
PRUint16 IMPORT_RULE = 3
PRUint16 MEDIA_RULE = 4
PRUint16 FONT_FACE_RULE = 5
PRUint16 PAGE_RULE = 6

Properties

DOMString cssText

readonly nsIDOMCSSRule parentRule

readonly nsIDOMCSSStyleSheet parentStyleSheet

readonly PRUint16 type


References

This interface is the type of the following properties:

nsIDOMCSSRule.parentRule, nsIDOMCSSStyleDeclaration.parentRule, nsIDOMCSSStyleSheet.ownerRule

This interface is returned from the following methods:

nsIDOMCSSRuleList.item

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com