CSSRule
@Serializable
CSS rule representation.
Constructors
Link copied to clipboard
constructor(styleSheetId: StyleSheetId? = null, selectorList: SelectorList, nestingSelectors: List<String>? = null, origin: StyleSheetOrigin, style: CSSStyle, media: List<CSSMedia>? = null, containerQueries: List<CSSContainerQuery>? = null, supports: List<CSSSupports>? = null, layers: List<CSSLayer>? = null, scopes: List<CSSScope>? = null)
Properties
Link copied to clipboard
Container query list array (for rules involving container queries). The array enumerates container queries starting with the innermost one, going outwards.
Link copied to clipboard
Array of selectors from ancestor style rules, sorted by distance from the current rule.
Link copied to clipboard
Parent stylesheet's origin.
Link copied to clipboard
Rule selector data.
Link copied to clipboard
The css style sheet identifier (absent for user agent stylesheet and user-specified stylesheet rules) this rule came from.
Link copied to clipboard