Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/pptr/mod.ts>Protocol.CSS.RuleMatch

Headless Chrome Deno API
Latest
interface Protocol.CSS.RuleMatch
import { type Protocol } from "https://deno.land/x/pptr@1.2.0/mod.ts";
const { RuleMatch } = Protocol.CSS;

Match data for a CSS rule.

Properties

rule: CSSRule

CSS rule in the match.

matchingSelectors: integer[]

Matching selector indices in the rule's selectorList selectors (0-based).