Class CSSStyleSheetHeader
CSS stylesheet metainformation.
public sealed class CSSStyleSheetHeader
- Inheritance
-
CSSStyleSheetHeader
- Inherited Members
Properties
Disabled
Denotes whether the stylesheet is disabled.
[JsonPropertyName("disabled")]
public bool Disabled { get; set; }
Property Value
EndColumn
Column offset of the end of the stylesheet within the resource (zero based).
[JsonPropertyName("endColumn")]
public double EndColumn { get; set; }
Property Value
EndLine
Line offset of the end of the stylesheet within the resource (zero based).
[JsonPropertyName("endLine")]
public double EndLine { get; set; }
Property Value
FrameId
Owner frame identifier.
[JsonPropertyName("frameId")]
public string FrameId { get; set; }
Property Value
HasSourceURL
Whether the sourceURL field value comes from the sourceURL comment.
[JsonPropertyName("hasSourceURL")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool? HasSourceURL { get; set; }
Property Value
- bool?
IsConstructed
True if this stylesheet is created through new CSSStyleSheet() or imported as a CSS module script.
[JsonPropertyName("isConstructed")]
public bool IsConstructed { get; set; }
Property Value
IsInline
Whether this stylesheet is created for STYLE tag by parser. This flag is not set for document.written STYLE tags.
[JsonPropertyName("isInline")]
public bool IsInline { get; set; }
Property Value
IsMutable
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.
[JsonPropertyName("isMutable")]
public bool IsMutable { get; set; }
Property Value
Length
Size of the content (in characters).
[JsonPropertyName("length")]
public double Length { get; set; }
Property Value
LoadingFailed
If the style sheet was loaded from a network resource, this indicates when the resource failed to load
[JsonPropertyName("loadingFailed")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool? LoadingFailed { get; set; }
Property Value
- bool?
Origin
Stylesheet origin.
[JsonPropertyName("origin")]
public StyleSheetOrigin Origin { get; set; }
Property Value
OwnerNode
The backend id for the owner node of the stylesheet.
[JsonPropertyName("ownerNode")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public long? OwnerNode { get; set; }
Property Value
- long?
SourceMapURL
URL of source map associated with the stylesheet (if any).
[JsonPropertyName("sourceMapURL")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? SourceMapURL { get; set; }
Property Value
SourceURL
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).
[JsonPropertyName("sourceURL")]
public string SourceURL { get; set; }
Property Value
StartColumn
Column offset of the stylesheet within the resource (zero based).
[JsonPropertyName("startColumn")]
public double StartColumn { get; set; }
Property Value
StartLine
Line offset of the stylesheet within the resource (zero based).
[JsonPropertyName("startLine")]
public double StartLine { get; set; }
Property Value
StyleSheetId
The stylesheet identifier.
[JsonPropertyName("styleSheetId")]
public string StyleSheetId { get; set; }
Property Value
Title
Stylesheet title.
[JsonPropertyName("title")]
public string Title { get; set; }