struct Protocol::CSS::RuleUsage

Overview

CSS coverage information.

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 end_offset : Number::Primitive #

Offset of the end of the rule body from the beginning of the stylesheet.


[View source]
def start_offset : Number::Primitive #

Offset of the start of the rule (including selector) from the beginning of the stylesheet.


[View source]
def style_sheet_id : StyleSheetId #

The css style sheet identifier (absent for user agent stylesheet and user-specified stylesheet rules) this rule came from.


[View source]
def used : Bool #

Indicates whether the rule was actually used by some element in the page.


[View source]