Table of Contents

Class GetMatchedStylesForNodeResult

Namespace
Selenium.WebDriver.BiDi.Cdp.CSS
Assembly
Selenium.WebDriver.BiDi.Cdp.dll
public sealed record GetMatchedStylesForNodeResult : EmptyResult, IEquatable<EmptyResult>, IEquatable<GetMatchedStylesForNodeResult>
Inheritance
EmptyResult
GetMatchedStylesForNodeResult
Implements
IEquatable<EmptyResult>
Inherited Members
EmptyResult.ToString()
EmptyResult.GetHashCode()
EmptyResult.Equals(EmptyResult)
EmptyResult.<Clone>$()
EmptyResult.AdditionalData
EmptyResult.AdditionalMessageData

Constructors

GetMatchedStylesForNodeResult(CSSStyle?, CSSStyle?, ImmutableArray<RuleMatch>?, ImmutableArray<PseudoElementMatches>?, ImmutableArray<InheritedStyleEntry>?, ImmutableArray<InheritedPseudoElementMatches>?, ImmutableArray<CSSKeyframesRule>?, ImmutableArray<CSSPositionTryRule>?, long?, ImmutableArray<CSSPropertyRule>?, ImmutableArray<CSSPropertyRegistration>?, ImmutableArray<CSSAtRule>?, NodeId?, ImmutableArray<CSSFunctionRule>?)

public GetMatchedStylesForNodeResult(CSSStyle? InlineStyle, CSSStyle? AttributesStyle, ImmutableArray<RuleMatch>? MatchedCSSRules, ImmutableArray<PseudoElementMatches>? PseudoElements, ImmutableArray<InheritedStyleEntry>? Inherited, ImmutableArray<InheritedPseudoElementMatches>? InheritedPseudoElements, ImmutableArray<CSSKeyframesRule>? CssKeyframesRules, ImmutableArray<CSSPositionTryRule>? CssPositionTryRules, long? ActivePositionFallbackIndex, ImmutableArray<CSSPropertyRule>? CssPropertyRules, ImmutableArray<CSSPropertyRegistration>? CssPropertyRegistrations, ImmutableArray<CSSAtRule>? CssAtRules, NodeId? ParentLayoutNodeId, ImmutableArray<CSSFunctionRule>? CssFunctionRules)

Parameters

InlineStyle CSSStyle

Inline style for the specified DOM node.

AttributesStyle CSSStyle

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

MatchedCSSRules ImmutableArray<RuleMatch>?

CSS rules matching this node, from all applicable stylesheets.

PseudoElements ImmutableArray<PseudoElementMatches>?

Pseudo style matches for this node.

Inherited ImmutableArray<InheritedStyleEntry>?

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

InheritedPseudoElements ImmutableArray<InheritedPseudoElementMatches>?

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

CssKeyframesRules ImmutableArray<CSSKeyframesRule>?

A list of CSS keyframed animations matching this node.

CssPositionTryRules ImmutableArray<CSSPositionTryRule>?

A list of CSS @position-try rules matching this node, based on the position-try-fallbacks property.

ActivePositionFallbackIndex long?

Index of the active fallback in the applied position-try-fallback property, will not be set if there is no active position-try fallback.

CssPropertyRules ImmutableArray<CSSPropertyRule>?

A list of CSS at-property rules matching this node.

CssPropertyRegistrations ImmutableArray<CSSPropertyRegistration>?

A list of CSS property registrations matching this node.

CssAtRules ImmutableArray<CSSAtRule>?

A list of simple @rules matching this node or its pseudo-elements.

ParentLayoutNodeId NodeId

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

CssFunctionRules ImmutableArray<CSSFunctionRule>?

A list of CSS at-function rules referenced by styles of this node.

Properties

ActivePositionFallbackIndex

Index of the active fallback in the applied position-try-fallback property, will not be set if there is no active position-try fallback.

public long? ActivePositionFallbackIndex { get; init; }

Property Value

long?

AttributesStyle

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

public CSSStyle? AttributesStyle { get; init; }

Property Value

CSSStyle

CssAtRules

A list of simple @rules matching this node or its pseudo-elements.

public ImmutableArray<CSSAtRule>? CssAtRules { get; init; }

Property Value

ImmutableArray<CSSAtRule>?

CssFunctionRules

A list of CSS at-function rules referenced by styles of this node.

public ImmutableArray<CSSFunctionRule>? CssFunctionRules { get; init; }

Property Value

ImmutableArray<CSSFunctionRule>?

CssKeyframesRules

A list of CSS keyframed animations matching this node.

public ImmutableArray<CSSKeyframesRule>? CssKeyframesRules { get; init; }

Property Value

ImmutableArray<CSSKeyframesRule>?

CssPositionTryRules

A list of CSS @position-try rules matching this node, based on the position-try-fallbacks property.

public ImmutableArray<CSSPositionTryRule>? CssPositionTryRules { get; init; }

Property Value

ImmutableArray<CSSPositionTryRule>?

CssPropertyRegistrations

A list of CSS property registrations matching this node.

public ImmutableArray<CSSPropertyRegistration>? CssPropertyRegistrations { get; init; }

Property Value

ImmutableArray<CSSPropertyRegistration>?

CssPropertyRules

A list of CSS at-property rules matching this node.

public ImmutableArray<CSSPropertyRule>? CssPropertyRules { get; init; }

Property Value

ImmutableArray<CSSPropertyRule>?

Inherited

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

public ImmutableArray<InheritedStyleEntry>? Inherited { get; init; }

Property Value

ImmutableArray<InheritedStyleEntry>?

InheritedPseudoElements

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

public ImmutableArray<InheritedPseudoElementMatches>? InheritedPseudoElements { get; init; }

Property Value

ImmutableArray<InheritedPseudoElementMatches>?

InlineStyle

Inline style for the specified DOM node.

public CSSStyle? InlineStyle { get; init; }

Property Value

CSSStyle

MatchedCSSRules

CSS rules matching this node, from all applicable stylesheets.

public ImmutableArray<RuleMatch>? MatchedCSSRules { get; init; }

Property Value

ImmutableArray<RuleMatch>?

ParentLayoutNodeId

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

public NodeId? ParentLayoutNodeId { get; init; }

Property Value

NodeId

PseudoElements

Pseudo style matches for this node.

public ImmutableArray<PseudoElementMatches>? PseudoElements { get; init; }

Property Value

ImmutableArray<PseudoElementMatches>?