diff --git a/dom.bs b/dom.bs index 230d7ffd..bd9766a9 100644 --- a/dom.bs +++ b/dom.bs @@ -6933,6 +6933,10 @@ are: element element, a string mode, a boolean clonable, a boolean delegatesFocus, and a boolean slotAssignment: + +
If element's namespace is not the HTML namespace, then throw a "{{NotSupportedError!!exception}}" {{DOMException}}. @@ -6963,28 +6967,26 @@ a boolean delegatesFocus, and a boolean slotAssignment:
Let currentShadowRoot be element's shadow root. -
If one of the following is true: - -
currentShadowRoot's declarative is false, +
If one of the following is true: -
currentShadowRoot's mode does not match - mode, +
currentShadowRoot's declarative is false, -
currentShadowRoot's delegates focus does - not match delegatesFocus, +
currentShadowRoot's mode does not match + mode, -
currentShadowRoot's slot assignment does - not match slotAssignment, +
currentShadowRoot's delegates focus does + not match delegatesFocus, -
currentShadowRoot's clonable does - not match clonable, -
currentShadowRoot's slot assignment does + not match slotAssignment, or -
then throw a "{{NotSupportedError!!exception}}" {{DOMException}}. +
currentShadowRoot's clonable does + not match clonable, +
Any new parameters added to attach a shadow root should be - added to the list of tests above. +
then throw a "{{NotSupportedError!!exception}}" {{DOMException}}.
Otherwise: