pl.wendigo.chrome.domain.css / RuleUsage

RuleUsage

data class RuleUsage (source)

CSS coverage information.

Constructors

<init>

RuleUsage(styleSheetId: StyleSheetId, startOffset: Double, endOffset: Double, used: Boolean)

CSS coverage information.

Properties

endOffset

val endOffset: Double

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

startOffset

val startOffset: Double

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

styleSheetId

val styleSheetId: StyleSheetId

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

used

val used: Boolean

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