Skip to content

Commit a776615

Browse files
committed
keep the same order of operations; add return statement
1 parent e5c3b37 commit a776615

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

dom.bs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4572,6 +4572,10 @@ boolean <var>subtree</var>:
45724572
<a>other applicable specifications</a> and pass <var>node</var>, <var>copy</var>, and
45734573
<var>subtree</var> as parameters.
45744574

4575+
<li><p>If <var>subtree</var> is true, then for each <var>child</var> of <var>node</var>'s
4576+
<a for=tree>children</a>, in <a>tree order</a>: <a>clone a node and append</a> given
4577+
<var>child</var>, <var>copy</var>, <var>document</var>, and <var>subtree</var>.
4578+
45754579
<li>
45764580
<p>If <var>node</var> is an <a for=/>element</a>, <a for=Element>shadow host</a>, and its
45774581
<a for=Element>shadow root</a>'s <a for=ShadowRoot>clonable</a> is true:
@@ -4594,9 +4598,7 @@ boolean <var>subtree</var>:
45944598
<var>subtree</var>.
45954599
</ol>
45964600

4597-
<li><p>If <var>subtree</var> is true, then for each <var>child</var> of <var>node</var>'s
4598-
<a for=tree>children</a>, in <a>tree order</a>: <a>clone a node and append</a> given
4599-
<var>child</var>, <var>copy</var>, <var>document</var>, and <var>subtree</var>.
4601+
<li><p>Return <var>copy</var>.
46004602
</ol>
46014603
</div>
46024604

0 commit comments

Comments
 (0)