blob: 7b65cb98bddc5a7fff9d3ced40ed395003337f72 [file] [log] [blame]
// GENERATED CONTENT - DO NOT EDIT
// Content was automatically extracted by Reffy into webref
// (https://github.com/w3c/webref)
// 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;
};