CSSRule Properties |
The CSSRule type exposes the following members.
Name | Description | |
---|---|---|
ContainerQueries | Container query list array (for rules involving container queries). The array enumerates container queries starting with the innermost one, going outwards. | |
Layers | Cascade layer array. Contains the layer hierarchy that this rule belongs to starting with the innermost layer and going outwards. | |
Media | Media list array (for rules involving media queries). The array enumerates media queries starting with the innermost one, going outwards. | |
NestingSelectors | Array of selectors from ancestor style rules, sorted by distance from the current rule. | |
Origin | Parent stylesheet's origin. | |
RuleTypes | The array keeps the types of ancestor CSSRules from the innermost going outwards. | |
Scopes | @scope CSS at-rule array. The array enumerates @scope at-rules starting with the innermost one, going outwards. | |
SelectorList | Rule selector data. | |
Style | Associated style declaration. | |
StyleSheetId | The css style sheet identifier (absent for user agent stylesheet and user-specified stylesheet rules) this rule came from. | |
Supports | @supports CSS at-rule array. The array enumerates @supports at-rules starting with the innermost one, going outwards. |