import { type Protocol } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.d.ts";
const { CSSRule } = Protocol.CSS;
CSS rule representation.
Properties
optional
styleSheetId: StyleSheetIdThe css style sheet identifier (absent for user agent stylesheet and user-specified stylesheet rules) this rule came from.
selectorList: SelectorList
Rule selector data.
origin: StyleSheetOrigin
Parent stylesheet's origin.
style: CSSStyle
Associated style declaration.
optional
media: CSSMedia[]Media list array (for rules involving media queries). The array enumerates media queries starting with the innermost one, going outwards.
optional
containerQueries: CSSContainerQuery[]Container query list array (for rules involving container queries). The array enumerates container queries starting with the innermost one, going outwards.
optional
supports: CSSSupports[]optional
layers: CSSLayer[]Cascade layer array. Contains the layer hierarchy that this rule belongs to starting with the innermost layer and going outwards.