import { CSSStyleSheet } from "https://deno.land/x/gauntlet@v0.0.9/imports/happy_dom.ts";
Attr node interface.
Constructors
new
CSSStyleSheet(options?: { media?: MediaList | string; title?: string; alternate?: boolean; disabled?: boolean; })Constructor.
Constructable Stylesheets is a new feature that only Blink supports: https://wicg.github.io/construct-stylesheets/
Methods
deleteRule(index: number): void
Removes a rule.
Constructable Stylesheets is a new feature that only Blink supports: https://wicg.github.io/construct-stylesheets/
insertRule(rule: string, index?: number): void
Inserts a rule.
Constructable Stylesheets is a new feature that only Blink supports: https://wicg.github.io/construct-stylesheets/
replace(text: string): Promise<void>
Replaces all CSS rules.
Constructable Stylesheets is a new feature that only Blink supports: https://wicg.github.io/construct-stylesheets/
replaceSync(text: string): void
Replaces all CSS rules.
Constructable Stylesheets is a new feature that only Blink supports: https://wicg.github.io/construct-stylesheets/