diff --git a/crates/web-sys/webidls/enabled/CSSStyleSheet.webidl b/crates/web-sys/webidls/enabled/CSSStyleSheet.webidl index 15188239d74..4f8754f1af3 100644 --- a/crates/web-sys/webidls/enabled/CSSStyleSheet.webidl +++ b/crates/web-sys/webidls/enabled/CSSStyleSheet.webidl @@ -27,7 +27,7 @@ interface CSSStyleSheet : StyleSheet { [Throws, NeedsSubjectPrincipal] undefined deleteRule(unsigned long index); [NewObject] - Promise replace(DOMString text); + Promise replace(USVString text); [Throws] - undefined replaceSync(DOMString text); + undefined replaceSync(USVString text); };