mirror of
https://github.com/servo/servo.git
synced 2025-10-16 08:20:22 +01:00
21 lines
685 B
Text
21 lines
685 B
Text
// GENERATED CONTENT - DO NOT EDIT
|
|
// Content was automatically extracted by Reffy into reffy-reports
|
|
// (https://github.com/tidoust/reffy-reports)
|
|
// Source: Constructable Stylesheet Objects (https://wicg.github.io/construct-stylesheets/)
|
|
|
|
partial interface CSSStyleSheet {
|
|
constructor(optional CSSStyleSheetInit options = {});
|
|
Promise<CSSStyleSheet> replace(USVString text);
|
|
void replaceSync(USVString text);
|
|
};
|
|
|
|
dictionary CSSStyleSheetInit {
|
|
(MediaList or DOMString) media = "";
|
|
DOMString title = "";
|
|
boolean alternate = false;
|
|
boolean disabled = false;
|
|
};
|
|
|
|
partial interface mixin DocumentOrShadowRoot {
|
|
attribute FrozenArray<CSSStyleSheet> adoptedStyleSheets;
|
|
};
|