struct Protocol::CSS::RuleUsage
- Protocol::CSS::RuleUsage
- Struct
- Value
- Object
Overview
CSS coverage information.
Included Modules
- JSON::Serializable
Defined in:
protocol/css.crConstructors
Instance Method Summary
-
#end_offset : Number::Primitive
Offset of the end of the rule body from the beginning of the stylesheet.
-
#start_offset : Number::Primitive
Offset of the start of the rule (including selector) from the beginning of the stylesheet.
-
#style_sheet_id : StyleSheetId
The css style sheet identifier (absent for user agent stylesheet and user-specified stylesheet rules) this rule came from.
-
#used : Bool
Indicates whether the rule was actually used by some element in the page.
Constructor Detail
Instance Method Detail
def end_offset : Number::Primitive
#
Offset of the end of the rule body from the beginning of the stylesheet.
def start_offset : Number::Primitive
#
Offset of the start of the rule (including selector) from the beginning of the stylesheet.
def style_sheet_id : StyleSheetId
#
The css style sheet identifier (absent for user agent stylesheet and user-specified stylesheet rules) this rule came from.