struct Protocol::CSS::CSSStyle
- Protocol::CSS::CSSStyle
- Struct
- Value
- Object
Overview
CSS style representation.
Included Modules
- JSON::Serializable
Defined in:
protocol/css.crConstructors
Instance Method Summary
-
#css_properties : Array(CSSProperty)
CSS properties in the style.
-
#css_text : String | Nil
Style declaration text (if available).
-
#range : SourceRange | Nil
Style declaration range in the enclosing stylesheet (if available).
-
#shorthand_entries : Array(ShorthandEntry)
Computed values for all shorthands found in the style.
-
#style_sheet_id : StyleSheetId | Nil
The css style sheet identifier (absent for user agent stylesheet and user-specified stylesheet rules) this rule came from.
Constructor Detail
Instance Method Detail
def shorthand_entries : Array(ShorthandEntry)
#
Computed values for all shorthands found in the style.
def style_sheet_id : StyleSheetId | Nil
#
The css style sheet identifier (absent for user agent stylesheet and user-specified stylesheet rules) this rule came from.