Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface default.CSS.RuleUsage
import { type default } from "https://deno.land/x/pptr@1.2.0/vendor/devtools-protocol/protocol.d.ts";
const { RuleUsage } = default.CSS;

CSS coverage information.

Properties

styleSheetId: StyleSheetId

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

startOffset: number

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

endOffset: number

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

used: boolean

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