GetMatchedStylesForNodeResponse

@Serializable
data class GetMatchedStylesForNodeResponse(val inlineStyle: CSSStyle? = null, val attributesStyle: CSSStyle? = null, val matchedCSSRules: List<RuleMatch>? = null, val pseudoElements: List<PseudoElementMatches>? = null, val inherited: List<InheritedStyleEntry>? = null, val inheritedPseudoElements: List<InheritedPseudoElementMatches>? = null, val cssKeyframesRules: List<CSSKeyframesRule>? = null, val cssPositionFallbackRules: List<CSSPositionFallbackRule>? = null, val parentLayoutNodeId: NodeId? = null)(source)

Response type for the CSSDomain.getMatchedStylesForNode command.

Constructors

Link copied to clipboard
constructor(inlineStyle: CSSStyle? = null, attributesStyle: CSSStyle? = null, matchedCSSRules: List<RuleMatch>? = null, pseudoElements: List<PseudoElementMatches>? = null, inherited: List<InheritedStyleEntry>? = null, inheritedPseudoElements: List<InheritedPseudoElementMatches>? = null, cssKeyframesRules: List<CSSKeyframesRule>? = null, cssPositionFallbackRules: List<CSSPositionFallbackRule>? = null, parentLayoutNodeId: NodeId? = null)

Properties

Link copied to clipboard

Attribute-defined element style (e.g. resulting from "width=20 height=100%").

Link copied to clipboard

A list of CSS keyframed animations matching this node.

Link copied to clipboard

A list of CSS position fallbacks matching this node.

Link copied to clipboard

A chain of inherited styles (from the immediate node parent up to the DOM tree root).

Link copied to clipboard

A chain of inherited pseudo element styles (from the immediate node parent up to the DOM tree root).

Link copied to clipboard
val inlineStyle: CSSStyle? = null

Inline style for the specified DOM node.

Link copied to clipboard

CSS rules matching this node, from all applicable stylesheets.

Link copied to clipboard

Id of the first parent element that does not have display: contents.

Link copied to clipboard

Pseudo style matches for this node.