CSSStyleRule represents a single CSS style rule. It implements the CSSRule interface with a type value of 1 (CSSRule.STYLE_RULE).

Documentation CSSStyleRule by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See also:

Variables

selectorText:String

Gets the textual representation of the selector for this rule, e.g. "h1,h2".

read onlystyle:CSSStyleDeclaration

Returns the CSSStyleDeclaration object for the rule.

Inherited Variables

Inherited Methods