struct Protocol::CSS::GetMatchedStylesForNode
- Protocol::CSS::GetMatchedStylesForNode
- Struct
- Value
- Object
Overview
Returns requested styles for a DOM node identified by nodeId
.
Included Modules
- JSON::Serializable
- Protocol::Command
Defined in:
protocol/css.crConstructors
Instance Method Summary
-
#attributes_style : CSSStyle | Nil
Attribute-defined element style (e.g.
-
#css_keyframes_rules : Array(CSSKeyframesRule) | Nil
A list of CSS keyframed animations matching this node.
-
#inherited : Array(InheritedStyleEntry) | Nil
A chain of inherited styles (from the immediate node parent up to the DOM tree root).
-
#inherited_pseudo_elements : Array(InheritedPseudoElementMatches) | Nil
A chain of inherited pseudo element styles (from the immediate node parent up to the DOM tree root).
-
#inline_style : CSSStyle | Nil
Inline style for the specified DOM node.
-
#matched_css_rules : Array(RuleMatch) | Nil
CSS rules matching this node, from all applicable stylesheets.
-
#parent_layout_node_id : DOM::NodeId | Nil
Id of the first parent element that does not have display: contents.
-
#pseudo_elements : Array(PseudoElementMatches) | Nil
Pseudo style matches for this node.
Constructor Detail
Instance Method Detail
Attribute-defined element style (e.g. resulting from "width=20 height=100%").
A list of CSS keyframed animations matching this node.
A chain of inherited styles (from the immediate node parent up to the DOM tree root).
A chain of inherited pseudo element styles (from the immediate node parent up to the DOM tree root).
CSS rules matching this node, from all applicable stylesheets.
Id of the first parent element that does not have display: contents.