mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
1.2 KiB
1.2 KiB
Home > puppeteer > Protocol > CSS > RuleUsage
Protocol.CSS.RuleUsage interface
CSS coverage information.
Signature:
export interface RuleUsage
Properties
Property | Type | Description |
---|---|---|
endOffset | number | Offset of the end of the rule body from the beginning of the stylesheet. |
startOffset | number | Offset of the start of the rule (including selector) from the beginning of the stylesheet. |
styleSheetId | StyleSheetId | The css style sheet identifier (absent for user agent stylesheet and user-specified stylesheet rules) this rule came from. |
used | boolean | Indicates whether the rule was actually used by some element in the page. |