cssText returns the actual text of the style rule.
cssText returns the actual text of the style rule. To be able to set a stylesheet rule dynamically, see Using dynamic styling information.
Returns a DOMString containing the text of the URI of the given namespace.
Returns the containing rule, otherwise null.
Returns the containing rule, otherwise null. E.g. if this rule is a style rule inside an @media
block, the
parent rule would be that CSSMediaRule.
parentStyleSheet returns the stylesheet object in which the current rule is defined.
parentStyleSheet returns the stylesheet object in which the current rule is defined.
Returns a DOMString with the name of the prefix associated to this namespace.
Returns a DOMString with the name of the prefix associated to this namespace. If there is no such prefix, returns null.
The CSSNamespaceRule interface describes an object representing a single CSS
@@namespace
at-rule. It implements the CSSRule interface, with a type value of 10 (CSSRule.NAMESPACE_RULE).