struct Protocol::CSS::CSSStyle

Overview

CSS style representation.

Included Modules

Defined in:

protocol/css.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def css_properties : Array(CSSProperty) #

CSS properties in the style.


[View source]
def css_text : String | Nil #

Style declaration text (if available).


[View source]
def range : SourceRange | Nil #

Style declaration range in the enclosing stylesheet (if available).


[View source]
def shorthand_entries : Array(ShorthandEntry) #

Computed values for all shorthands found in the style.


[View source]
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.


[View source]