mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
24 lines
1.2 KiB
Markdown
24 lines
1.2 KiB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [CSS](./puppeteer.protocol.css.md) > [RuleUsage](./puppeteer.protocol.css.ruleusage.md)
|
|
|
|
## Protocol.CSS.RuleUsage interface
|
|
|
|
CSS coverage information.
|
|
|
|
<b>Signature:</b>
|
|
|
|
```typescript
|
|
export interface RuleUsage
|
|
```
|
|
|
|
## Properties
|
|
|
|
| Property | Type | Description |
|
|
| --- | --- | --- |
|
|
| [endOffset](./puppeteer.protocol.css.ruleusage.endoffset.md) | number | Offset of the end of the rule body from the beginning of the stylesheet. |
|
|
| [startOffset](./puppeteer.protocol.css.ruleusage.startoffset.md) | number | Offset of the start of the rule (including selector) from the beginning of the stylesheet. |
|
|
| [styleSheetId](./puppeteer.protocol.css.ruleusage.stylesheetid.md) | [StyleSheetId](./puppeteer.protocol.css.stylesheetid.md) | The css style sheet identifier (absent for user agent stylesheet and user-specified stylesheet rules) this rule came from. |
|
|
| [used](./puppeteer.protocol.css.ruleusage.used.md) | boolean | Indicates whether the rule was actually used by some element in the page. |
|
|
|