diff --git a/dom.bs b/dom.bs index b64fdffc..93a69f7f 100644 --- a/dom.bs +++ b/dom.bs @@ -6768,7 +6768,7 @@ invoked, must run these steps: "span", then throw a "{{NotSupportedError!!exception}}" {{DOMException}}.
  • If context object is a shadow host, then throw an - "{{InvalidStateError!!exception}}" {{DOMException}}. + "{{NotSupportedError!!exception}}" {{DOMException}}.

  • Let shadow be a new shadow root whose node document is context object's node document, host is