puppeteer/new-docs/puppeteer.protocol.css.cssstylesheetheader.md
Johan Bay 49f25e2412
feat(chromium) roll Chromium to r809590 (#6458)
This corresponds to Chromium 87.0.4272.0
This roll includes:
- Reland "idle-detection: Implement requestPermission() method"
  (crrev.com/c/2417779)
2020-10-01 08:24:47 +02:00

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.