Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
interface Protocol.CSS.GetMatchedStylesForNodeResponse
import { type Protocol } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.d.ts";
const { GetMatchedStylesForNodeResponse } = Protocol.CSS;

Properties

optional
inlineStyle: CSSStyle

Inline style for the specified DOM node.

optional
attributesStyle: CSSStyle

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

optional
matchedCSSRules: RuleMatch[]

CSS rules matching this node, from all applicable stylesheets.

optional
pseudoElements: PseudoElementMatches[]

Pseudo style matches for this node.

optional
inherited: InheritedStyleEntry[]

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

optional
inheritedPseudoElements: InheritedPseudoElementMatches[]

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

optional
cssKeyframesRules: CSSKeyframesRule[]

A list of CSS keyframed animations matching this node.