Skip to content

Commit

Permalink
Remove checks except for mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Mason Freed committed Feb 10, 2024
1 parent 149f31c commit 1c0b37c
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions dom.bs
Original file line number Diff line number Diff line change
Expand Up @@ -6933,10 +6933,6 @@ are:
<a for=/>element</a> <var>element</var>, a string <var>mode</var>, a boolean <var>clonable</var>,
a boolean <var>delegatesFocus</var>, and a string <var>slotAssignment</var>:

<!-- Any new parameters added to <a>attach a shadow root</a> should be
added to the list of parameter-match tests under "If one of the
following is true" below. -->

<ol>
<li><p>If <var>element</var>'s <a for=Element>namespace</a> is not the <a>HTML namespace</a>,
then <a>throw</a> a "{{NotSupportedError!!exception}}" {{DOMException}}.
Expand Down Expand Up @@ -6974,16 +6970,7 @@ a boolean <var>delegatesFocus</var>, and a string <var>slotAssignment</var>:
<li><p><var>currentShadowRoot</var>'s <a for=ShadowRoot>declarative</a> is false,

<li><p><var>currentShadowRoot</var>'s <a for=ShadowRoot>mode</a> does not match
<var>mode</var>,

<li><p><var>currentShadowRoot</var>'s <a for=ShadowRoot>delegates focus</a> does
not match <var>delegatesFocus</var>,

<li><p><var>currentShadowRoot</var>'s <a for=ShadowRoot>slot assignment</a> does
not match <var>slotAssignment</var>, or

<li><p><var>currentShadowRoot</var>'s <a for=ShadowRoot>clonable</a> does
not match <var>clonable</var>,
<var>mode</var>, or
</ul>

<p>then <a>throw</a> a "{{NotSupportedError!!exception}}" {{DOMException}}.
Expand Down

0 comments on commit 1c0b37c

Please sign in to comment.