CSSContainerQuery

@Serializable
data class CSSContainerQuery(val text: String, val range: CSS.SourceRange? = null, val styleSheetId: String? = null, val name: String? = null, val physicalAxes: DOM.PhysicalAxes? = null, val logicalAxes: DOM.LogicalAxes? = null, val queriesScrollState: Boolean? = null, val queriesAnchored: Boolean? = null)

CSS container query rule descriptor.

Constructors

Link copied to clipboard
constructor(text: String, range: CSS.SourceRange? = null, styleSheetId: String? = null, name: String? = null, physicalAxes: DOM.PhysicalAxes? = null, logicalAxes: DOM.LogicalAxes? = null, queriesScrollState: Boolean? = null, queriesAnchored: Boolean? = null)

Properties

Link copied to clipboard

Optional logical axes queried for the container.

Link copied to clipboard
val name: String? = null

Optional name for the container.

Link copied to clipboard

Optional physical axes queried for the container.

Link copied to clipboard

true if the query contains anchored() queries.

Link copied to clipboard

true if the query contains scroll-state() queries.

Link copied to clipboard
val range: CSS.SourceRange? = null

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

Link copied to clipboard
val styleSheetId: String? = null

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

Link copied to clipboard

Container query text.