pl.wendigo.chrome.api.css / GetMatchedStylesForNodeResponse

GetMatchedStylesForNodeResponse

data class GetMatchedStylesForNodeResponse (source)

Represents response frame that is returned from CSS#getMatchedStylesForNode operation call. Returns requested styles for a DOM node identified by nodeId.

Link
CSS#getMatchedStylesForNode method documentation.

See Also

CSSOperations.getMatchedStylesForNode

Constructors

<init>

GetMatchedStylesForNodeResponse(inlineStyle: CSSStyle? = null, attributesStyle: CSSStyle? = null, matchedCSSRules: List<RuleMatch>? = null, pseudoElements: List<PseudoElementMatches>? = null, inherited: List<InheritedStyleEntry>? = null, cssKeyframesRules: List<CSSKeyframesRule>? = null)

Represents response frame that is returned from CSS#getMatchedStylesForNode operation call. Returns requested styles for a DOM node identified by nodeId.

Properties

attributesStyle

val attributesStyle: CSSStyle?

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

cssKeyframesRules

val cssKeyframesRules: List<CSSKeyframesRule>?

A list of CSS keyframed animations matching this node.

inherited

val inherited: List<InheritedStyleEntry>?

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

inlineStyle

val inlineStyle: CSSStyle?

Inline style for the specified DOM node.

matchedCSSRules

val matchedCSSRules: List<RuleMatch>?

CSS rules matching this node, from all applicable stylesheets.

pseudoElements

val pseudoElements: List<PseudoElementMatches>?

Pseudo style matches for this node.