CSSTryRule

@Serializable
data class CSSTryRule(val styleSheetId: StyleSheetId? = null, val origin: StyleSheetOrigin, val style: CSSStyle)

CSS try rule representation.

Official doc

Constructors

Link copied to clipboard
constructor(styleSheetId: StyleSheetId? = null, origin: StyleSheetOrigin, style: CSSStyle)

Properties

Link copied to clipboard

Parent stylesheet's origin.

Link copied to clipboard

Associated style declaration.

Link copied to clipboard

The css style sheet identifier (absent for user agent stylesheet and user-specified stylesheet rules) this rule came from.