Skip to content

Commit

Permalink
Fix children reference
Browse files Browse the repository at this point in the history
  • Loading branch information
mfreed7 committed Oct 2, 2023
1 parent f01b44d commit d0999f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dom.bs
Original file line number Diff line number Diff line change
Expand Up @@ -4488,7 +4488,7 @@ dom-Range-extractContents, dom-Range-cloneContents -->
<a for=ShadowRoot>declarative</a> to true.

<li><p>If the <i>clone children flag</i> is set, <a lt="clone a node">clone</a> all the
<a>children</a> of <var>node</var>'s <a for=Element>shadow root</a> and <a>append</a> the
<a for=tree>children</a> of <var>node</var>'s <a for=Element>shadow root</a> and <a>append</a> the
resulting clones to <var>copy</var>'s <a for=Element>shadow root</a>, with <var>document</var> as
specified, and the <i>clone children flag</i> set.
</ol>
Expand Down Expand Up @@ -6933,7 +6933,7 @@ a boolean <var>delegatesFocus</var>, and a boolean <var>slotAssignment</var>:
is false, then <a>throw</a> an "{{NotSupportedError!!exception}}" {{DOMException}}.

<li><p>Otherwise, <a for=/>remove</a> all of <var>element</var>'s
<a for=Element>shadow root</a>'s <a>children</a>, in <a>tree order</a>, and return.
<a for=Element>shadow root</a>'s <a for=tree>children</a>, in <a>tree order</a>, and return.

<p class=note>This means that if multiple declarative shadow roots are contained within a single
shadow host, only the last one will remain.
Expand Down

0 comments on commit d0999f4

Please sign in to comment.