puppeteer/new-docs/puppeteer.protocol.css.cssstylesheetheader.md
2020-07-13 14:01:35 +01:00

2.8 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.
isInline boolean Whether this stylesheet is created for STYLE tag by parser. This flag is not set for document.written STYLE tags.
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.