CSSStyleSheetHeader

@Serializable
data class CSSStyleSheetHeader(val styleSheetId: String, val frameId: String, val sourceURL: String, val sourceMapURL: String? = null, val origin: CSS.StyleSheetOrigin, val title: String, val ownerNode: Int? = null, val disabled: Boolean, val hasSourceURL: Boolean? = null, val isInline: Boolean, val isMutable: Boolean, val isConstructed: Boolean, val startLine: Double, val startColumn: Double, val length: Double, val endLine: Double, val endColumn: Double, val loadingFailed: Boolean? = null)

CSS stylesheet metainformation.

Constructors

Link copied to clipboard
constructor(styleSheetId: String, frameId: String, sourceURL: String, sourceMapURL: String? = null, origin: CSS.StyleSheetOrigin, title: String, ownerNode: Int? = null, disabled: Boolean, hasSourceURL: Boolean? = null, isInline: Boolean, isMutable: Boolean, isConstructed: Boolean, startLine: Double, startColumn: Double, length: Double, endLine: Double, endColumn: Double, loadingFailed: Boolean? = null)

Properties

Link copied to clipboard

Denotes whether the stylesheet is disabled.

Link copied to clipboard

Column offset of the end of the stylesheet within the resource (zero based).

Link copied to clipboard

Line offset of the end of the stylesheet within the resource (zero based).

Link copied to clipboard

Owner frame identifier.

Link copied to clipboard
val hasSourceURL: Boolean? = null

Whether the sourceURL field value comes from the sourceURL comment.

Link copied to clipboard

True if this stylesheet is created through new CSSStyleSheet() or imported as a CSS module script.

Link copied to clipboard

Whether this stylesheet is created for STYLE tag by parser. This flag is not set for document.written STYLE tags.

Link copied to clipboard

Whether this stylesheet is mutable. Inline stylesheets become mutable after they have been modified via CSSOM API. <link> element's stylesheets become mutable only if DevTools modifies them. Constructed stylesheets (new CSSStyleSheet()) are mutable immediately after creation.

Link copied to clipboard

Size of the content (in characters).

Link copied to clipboard
val loadingFailed: Boolean? = null

If the style sheet was loaded from a network resource, this indicates when the resource failed to load

Link copied to clipboard

Stylesheet origin.

Link copied to clipboard
val ownerNode: Int? = null

The backend id for the owner node of the stylesheet.

Link copied to clipboard
val sourceMapURL: String? = null

URL of source map associated with the stylesheet (if any).

Link copied to clipboard

Stylesheet resource URL. Empty if this is a constructed stylesheet created using new CSSStyleSheet() (but non-empty if this is a constructed stylesheet imported as a CSS module script).

Link copied to clipboard

Column offset of the stylesheet within the resource (zero based).

Link copied to clipboard

Line offset of the stylesheet within the resource (zero based).

Link copied to clipboard

The stylesheet identifier.

Link copied to clipboard

Stylesheet title.