CSSAtRule

@Serializable
data class CSSAtRule(val type: String, val subsection: String? = null, val name: CSS.Value? = null, val styleSheetId: String? = null, val origin: CSS.StyleSheetOrigin, val style: CSS.CSSStyle)

CSS generic @rule representation.

Constructors

Link copied to clipboard
constructor(type: String, subsection: String? = null, name: CSS.Value? = null, styleSheetId: String? = null, origin: CSS.StyleSheetOrigin, style: CSS.CSSStyle)

Properties

Link copied to clipboard
val name: CSS.Value? = null

LINT.ThenChange(//third_party/blink/renderer/core/inspector/inspector_style_sheet.cc:FontVariantAlternatesFeatureType,//third_party/blink/renderer/core/inspector/inspector_css_agent.cc:FontVariantAlternatesFeatureType) Associated name, if applicable.

Link copied to clipboard

Parent stylesheet's origin.

Link copied to clipboard

Associated style declaration.

Link copied to clipboard
val styleSheetId: String? = null

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

Link copied to clipboard
val subsection: String? = null

Subsection of font-feature-values, if this is a subsection.

Link copied to clipboard

Type of at-rule.