Class GetMatchedStylesForNodeResult
public sealed record GetMatchedStylesForNodeResult : EmptyResult, IEquatable<EmptyResult>, IEquatable<GetMatchedStylesForNodeResult>
- Inheritance
-
EmptyResultGetMatchedStylesForNodeResult
- Implements
-
IEquatable<EmptyResult>
- Inherited Members
-
EmptyResult.ToString()EmptyResult.GetHashCode()EmptyResult.Equals(EmptyResult)EmptyResult.<Clone>$()EmptyResult.AdditionalDataEmptyResult.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
InlineStyleCSSStyleInline style for the specified DOM node.
AttributesStyleCSSStyleAttribute-defined element style (e.g. resulting from "width=20 height=100%").
MatchedCSSRulesImmutableArray<RuleMatch>?CSS rules matching this node, from all applicable stylesheets.
PseudoElementsImmutableArray<PseudoElementMatches>?Pseudo style matches for this node.
InheritedImmutableArray<InheritedStyleEntry>?A chain of inherited styles (from the immediate node parent up to the DOM tree root).
InheritedPseudoElementsImmutableArray<InheritedPseudoElementMatches>?A chain of inherited pseudo element styles (from the immediate node parent up to the DOM tree root).
CssKeyframesRulesImmutableArray<CSSKeyframesRule>?A list of CSS keyframed animations matching this node.
CssPositionTryRulesImmutableArray<CSSPositionTryRule>?A list of CSS @position-try rules matching this node, based on the position-try-fallbacks property.
ActivePositionFallbackIndexlong?Index of the active fallback in the applied position-try-fallback property, will not be set if there is no active position-try fallback.
CssPropertyRulesImmutableArray<CSSPropertyRule>?A list of CSS at-property rules matching this node.
CssPropertyRegistrationsImmutableArray<CSSPropertyRegistration>?A list of CSS property registrations matching this node.
CssAtRulesImmutableArray<CSSAtRule>?A list of simple @rules matching this node or its pseudo-elements.
ParentLayoutNodeIdNodeIdId of the first parent element that does not have display: contents.
CssFunctionRulesImmutableArray<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
CssAtRules
A list of simple @rules matching this node or its pseudo-elements.
public ImmutableArray<CSSAtRule>? CssAtRules { get; init; }
Property Value
CssFunctionRules
A list of CSS at-function rules referenced by styles of this node.
public ImmutableArray<CSSFunctionRule>? CssFunctionRules { get; init; }
Property Value
CssKeyframesRules
A list of CSS keyframed animations matching this node.
public ImmutableArray<CSSKeyframesRule>? CssKeyframesRules { get; init; }
Property Value
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
CssPropertyRegistrations
A list of CSS property registrations matching this node.
public ImmutableArray<CSSPropertyRegistration>? CssPropertyRegistrations { get; init; }
Property Value
CssPropertyRules
A list of CSS at-property rules matching this node.
public ImmutableArray<CSSPropertyRule>? CssPropertyRules { get; init; }
Property Value
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
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
InlineStyle
Inline style for the specified DOM node.
public CSSStyle? InlineStyle { get; init; }
Property Value
MatchedCSSRules
CSS rules matching this node, from all applicable stylesheets.
public ImmutableArray<RuleMatch>? MatchedCSSRules { get; init; }
Property Value
ParentLayoutNodeId
Id of the first parent element that does not have display: contents.
public NodeId? ParentLayoutNodeId { get; init; }
Property Value
PseudoElements
Pseudo style matches for this node.
public ImmutableArray<PseudoElementMatches>? PseudoElements { get; init; }