RuleUsage

@Serializable
data class RuleUsage(val styleSheetId: String, val startOffset: Double, val endOffset: Double, val used: Boolean)

CSS coverage information.

Constructors

Link copied to clipboard
constructor(styleSheetId: String, startOffset: Double, endOffset: Double, used: Boolean)

Properties

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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