Skip to main content

GET_MATCHED_STYLES_FOR_NODE

Constant GET_MATCHED_STYLES_FOR_NODE 

Source
pub const GET_MATCHED_STYLES_FOR_NODE: &str = "CSS.getMatchedStylesForNode";
Expand description

Returns requested styles for a DOM node identified by nodeId.

Parameters:

  • nodeId: DOM.NodeId

Returns: inlineStyle, attributesStyle, matchedCSSRules, pseudoElements, inherited, inheritedPseudoElements, cssKeyframesRules, cssPositionTryRules, activePositionFallbackIndex, cssPropertyRules, cssPropertyRegistrations, cssAtRules, parentLayoutNodeId, cssFunctionRules