mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
49f25e2412
This corresponds to Chromium 87.0.4272.0 This roll includes: - Reland "idle-detection: Implement requestPermission() method" (crrev.com/c/2417779)
3.3 KiB
3.3 KiB
Home > puppeteer > Protocol > CSS > CSSStyleSheetHeader
Protocol.CSS.CSSStyleSheetHeader interface
CSS stylesheet metainformation.
Signature:
export interface CSSStyleSheetHeader
Properties
Property | Type | Description |
---|---|---|
disabled | boolean | Denotes whether the stylesheet is disabled. |
endColumn | number | Column offset of the end of the stylesheet within the resource (zero based). |
endLine | number | Line offset of the end of the stylesheet within the resource (zero based). |
frameId | Page.FrameId | Owner frame identifier. |
hasSourceURL | boolean | Whether the sourceURL field value comes from the sourceURL comment. |
isConstructed | boolean | Whether this stylesheet is a constructed stylesheet (created using new CSSStyleSheet()). |
isInline | boolean | Whether this stylesheet is created for STYLE tag by parser. This flag is not set for document.written STYLE tags. |
isMutable | boolean | Whether this stylesheet is mutable. Inline stylesheets become mutable after they have been modified via CSSOM API. element's stylesheets become mutable only if DevTools modifies them. Constructed stylesheets (new CSSStyleSheet()) are mutable immediately after creation. |
length | number | Size of the content (in characters). |
origin | StyleSheetOrigin | Stylesheet origin. |
ownerNode | DOM.BackendNodeId | The backend id for the owner node of the stylesheet. |
sourceMapURL | string | URL of source map associated with the stylesheet (if any). |
sourceURL | string | Stylesheet resource URL. |
startColumn | number | Column offset of the stylesheet within the resource (zero based). |
startLine | number | Line offset of the stylesheet within the resource (zero based). |
styleSheetId | StyleSheetId | The stylesheet identifier. |
title | string | Stylesheet title. |