CSSSupports

@Serializable
data class CSSSupports(val text: String, val active: Boolean, val range: SourceRange? = null, val styleSheetId: StyleSheetId? = null)

CSS Supports at-rule descriptor.

Official doc

Constructors

Link copied to clipboard
constructor(text: String, active: Boolean, range: SourceRange? = null, styleSheetId: StyleSheetId? = null)

Properties

Link copied to clipboard

Whether the supports condition is satisfied.

Link copied to clipboard
val range: SourceRange? = null

The associated rule header range in the enclosing stylesheet (if available).

Link copied to clipboard

Identifier of the stylesheet containing this object (if exists).

Link copied to clipboard

Supports rule text.