Definition
CSS Object Model (CSSOM) defines CSSStyleRule
[Exposed=Window]
interface CSSStyleRule : CSSGroupingRule {
attribute CSSOMString selectorText;
[SameObject, PutForwards=cssText] readonly attribute CSSStyleProperties style;
};
This interface is extended in the following specifications:
- CSS Typed OM Level 1
partial interface CSSStyleRule { [SameObject] readonly attribute StylePropertyMap styleMap; };
Consolidated IDL (across mixin and partials)
[Exposed=Window]
interface CSSStyleRule : CSSGroupingRule {
attribute CSSOMString selectorText;
[SameObject, PutForwards=cssText] readonly attribute CSSStyleProperties style;
[SameObject] readonly attribute StylePropertyMap styleMap;
};
Referring specifications
- CSS Typed OM Level 1 refers to
CSSStyleRule