struct Protocol::CSS::CSSProperty
- Protocol::CSS::CSSProperty
 - Struct
 - Value
 - Object
 
Overview
CSS property declaration data.
Included Modules
- JSON::Serializable
 
Defined in:
protocol/css.crConstructors
Instance Method Summary
- 
        #disabled : Bool | Nil
        
          
Whether the property is disabled by the user (present for source-based properties only).
 - 
        #implicit : Bool | Nil
        
          
Whether the property is implicit (implies
falseif absent). - 
        #important : Bool | Nil
        
          
Whether the property has "!important" annotation (implies
falseif absent). - 
        #longhand_properties : Array(CSSProperty) | Nil
        
          
Parsed longhand components of this property if it is a shorthand.
 - 
        #name : String
        
          
The property name.
 - 
        #parsed_ok : Bool | Nil
        
          
Whether the property is understood by the browser (implies
trueif absent). - 
        #range : SourceRange | Nil
        
          
The entire property range in the enclosing style declaration (if available).
 - 
        #text : String | Nil
        
          
The full property text as specified in the style.
 - 
        #value : String
        
          
The property value.
 
Constructor Detail
Instance Method Detail
Whether the property is disabled by the user (present for source-based properties only).
Whether the property has "!important" annotation (implies false if absent).
Parsed longhand components of this property if it is a shorthand. This field will be empty if the given property is not a shorthand.
Whether the property is understood by the browser (implies true if absent).
The entire property range in the enclosing style declaration (if available).