struct Protocol::CSS::CSSRule
- Protocol::CSS::CSSRule
- Struct
- Value
- Object
Overview
CSS rule representation.
Included Modules
- JSON::Serializable
Defined in:
protocol/css.crConstructors
Instance Method Summary
-
#container_queries : Array(CSSContainerQuery) | Nil
Container query list array (for rules involving container queries).
-
#layers : Array(CSSLayer) | Nil
Cascade layer array.
-
#media : Array(CSSMedia) | Nil
Media list array (for rules involving media queries).
-
#origin : StyleSheetOrigin
Parent stylesheet's origin.
-
#scopes : Array(CSSScope) | Nil
@scope CSS at-rule array.
-
#selector_list : SelectorList
Rule selector data.
-
#style : CSSStyle
Associated style declaration.
-
#style_sheet_id : StyleSheetId | Nil
The css style sheet identifier (absent for user agent stylesheet and user-specified stylesheet rules) this rule came from.
-
#supports : Array(CSSSupports) | Nil
@supports CSS at-rule array.
Constructor Detail
Instance Method Detail
Container query list array (for rules involving container queries). The array enumerates container queries starting with the innermost one, going outwards.
Cascade layer array. Contains the layer hierarchy that this rule belongs to starting with the innermost layer and going outwards.
Media list array (for rules involving media queries). The array enumerates media queries starting with the innermost one, going outwards.
@scope CSS at-rule array. The array enumerates @scope at-rules starting with the innermost one, going outwards.
The css style sheet identifier (absent for user agent stylesheet and user-specified stylesheet rules) this rule came from.
@supports CSS at-rule array. The array enumerates @supports at-rules starting with the innermost one, going outwards.