struct Protocol::CSS::CSSStyleSheetHeader
- Protocol::CSS::CSSStyleSheetHeader
- Struct
- Value
- Object
Overview
CSS stylesheet metainformation.
Included Modules
- JSON::Serializable
Defined in:
protocol/css.crConstructors
Instance Method Summary
-
#disabled : Bool
Denotes whether the stylesheet is disabled.
-
#end_column : Number::Primitive
Column offset of the end of the stylesheet within the resource (zero based).
-
#end_line : Number::Primitive
Line offset of the end of the stylesheet within the resource (zero based).
-
#frame_id : Page::FrameId
Owner frame identifier.
-
#has_source_url : Bool | Nil
Whether the sourceURL field value comes from the sourceURL comment.
-
#is_constructed : Bool
True if this stylesheet is created through new CSSStyleSheet() or imported as a CSS module script.
-
#is_inline : Bool
Whether this stylesheet is created for STYLE tag by parser.
-
#is_mutable : Bool
Whether this stylesheet is mutable.
-
#length : Number::Primitive
Size of the content (in characters).
-
#origin : StyleSheetOrigin
Stylesheet origin.
-
#owner_node : DOM::BackendNodeId | Nil
The backend id for the owner node of the stylesheet.
-
#source_map_url : String | Nil
URL of source map associated with the stylesheet (if any).
-
#source_url : String
Stylesheet resource URL.
-
#start_column : Number::Primitive
Column offset of the stylesheet within the resource (zero based).
-
#start_line : Number::Primitive
Line offset of the stylesheet within the resource (zero based).
-
#style_sheet_id : StyleSheetId
The stylesheet identifier.
-
#title : String
Stylesheet title.
Constructor Detail
Instance Method Detail
Column offset of the end of the stylesheet within the resource (zero based).
Line offset of the end of the stylesheet within the resource (zero based).
Whether the sourceURL field value comes from the sourceURL comment.
True if this stylesheet is created through new CSSStyleSheet() or imported as a CSS module script.
Whether this stylesheet is created for STYLE tag by parser. This flag is not set for document.written STYLE tags.
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.Stylesheet resource URL. Empty if this is a constructed stylesheet created using new CSSStyleSheet() (but non-empty if this is a constructed sylesheet imported as a CSS module script).
Column offset of the stylesheet within the resource (zero based).
Line offset of the stylesheet within the resource (zero based).