Class CSS.GetMatchedStylesForNodeResponse
java.lang.Object
org.openqa.selenium.devtools.v126.css.CSS.GetMatchedStylesForNodeResponse
- Enclosing class:
- CSS
-
Constructor Summary
ConstructorsConstructorDescriptionGetMatchedStylesForNodeResponse
(Optional<CSSStyle> inlineStyle, Optional<CSSStyle> attributesStyle, Optional<List<RuleMatch>> matchedCSSRules, Optional<List<PseudoElementMatches>> pseudoElements, Optional<List<InheritedStyleEntry>> inherited, Optional<List<InheritedPseudoElementMatches>> inheritedPseudoElements, Optional<List<CSSKeyframesRule>> cssKeyframesRules, Optional<List<CSSPositionFallbackRule>> cssPositionFallbackRules, Optional<List<CSSPositionTryRule>> cssPositionTryRules, Optional<List<CSSPropertyRule>> cssPropertyRules, Optional<List<CSSPropertyRegistration>> cssPropertyRegistrations, Optional<CSSFontPaletteValuesRule> cssFontPaletteValuesRule, Optional<NodeId> parentLayoutNodeId) -
Method Summary
Modifier and TypeMethodDescriptionAttribute-defined element style (e.g.A font-palette-values rule matching this node.A list of CSS keyframed animations matching this node.A list of CSS position fallbacks matching this node.A list of CSS @position-try rules matching this node, based on the position-try-options property.A list of CSS property registrations matching this node.A list of CSS at-property rules 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).Inline style for the specified DOM node.CSS rules matching this node, from all applicable stylesheets.Id of the first parent element that does not have display: contents.Pseudo style matches for this node.
-
Constructor Details
-
GetMatchedStylesForNodeResponse
public GetMatchedStylesForNodeResponse(Optional<CSSStyle> inlineStyle, Optional<CSSStyle> attributesStyle, Optional<List<RuleMatch>> matchedCSSRules, Optional<List<PseudoElementMatches>> pseudoElements, Optional<List<InheritedStyleEntry>> inherited, Optional<List<InheritedPseudoElementMatches>> inheritedPseudoElements, Optional<List<CSSKeyframesRule>> cssKeyframesRules, Optional<List<CSSPositionFallbackRule>> cssPositionFallbackRules, Optional<List<CSSPositionTryRule>> cssPositionTryRules, Optional<List<CSSPropertyRule>> cssPropertyRules, Optional<List<CSSPropertyRegistration>> cssPropertyRegistrations, Optional<CSSFontPaletteValuesRule> cssFontPaletteValuesRule, Optional<NodeId> parentLayoutNodeId)
-
-
Method Details
-
getInlineStyle
Inline style for the specified DOM node. -
getAttributesStyle
Attribute-defined element style (e.g. resulting from "width=20 height=100%"). -
getMatchedCSSRules
CSS rules matching this node, from all applicable stylesheets. -
getPseudoElements
Pseudo style matches for this node. -
getInherited
A chain of inherited styles (from the immediate node parent up to the DOM tree root). -
getInheritedPseudoElements
A chain of inherited pseudo element styles (from the immediate node parent up to the DOM tree root). -
getCssKeyframesRules
A list of CSS keyframed animations matching this node. -
getCssPositionFallbackRules
A list of CSS position fallbacks matching this node. -
getCssPositionTryRules
A list of CSS @position-try rules matching this node, based on the position-try-options property. -
getCssPropertyRules
A list of CSS at-property rules matching this node. -
getCssPropertyRegistrations
A list of CSS property registrations matching this node. -
getCssFontPaletteValuesRule
A font-palette-values rule matching this node. -
getParentLayoutNodeId
Id of the first parent element that does not have display: contents.
-