[scriptable, uuid(a6cf90c1-15b3-11d2-932e-00805f8add32)]
interface nsIDOMCSSRule : nsISupports

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

 @status FROZEN
const unsigned short UNKNOWN_RULE = 0

          
const unsigned short STYLE_RULE = 1

          
const unsigned short CHARSET_RULE = 2

          
const unsigned short IMPORT_RULE = 3

          
const unsigned short MEDIA_RULE = 4

          
const unsigned short FONT_FACE_RULE = 5

          
const unsigned short PAGE_RULE = 6

Attributes


          
attribute DOMString cssText

          
readonly attribute nsIDOMCSSRule parentRule

          
readonly attribute nsIDOMCSSStyleSheet parentStyleSheet

          
readonly attribute unsigned short type