Re: [whatwg/dom] Let callers of clone a node exclude descendants (PR #1534)

@noamr approved this pull request.

LGTM % nit

> +<dfn export for="clone a node"><var>excludeDescendant</var></dfn> that takes a <a for=/>node</a> and
+returns a boolean (default null):

I find this a bit difficult to read. Maybe something like "and `excludeDescendants`, which is null or an algorithm that takes..."

>    </ol>
 
  <li><p>Return <var>copy</var>.
 </ol>
 </div>
 
+<div algorithm="clone the children">
+<p>To <dfn>clone the children</dfn> of a <a for=/>node</a> <var>node</var> into a
+<a for=/>node</a> <var>parent</var>, given an optional <a for=/>document</a>
+<dfn for="clone the children"><var>document</var></dfn> (default <var>node</var>'s
+<a for=Node>node document</a>), null or a {{CustomElementRegistry}} object
+<dfn for="clone the children"><var>fallbackRegistry</var></dfn> (default null), and null or

Ditto

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/pull/1534#pullrequestreview-6152129978
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/dom/pull/1534/review/6152129978@github.com>

Received on Wednesday, 2 December 2026 13:55:19 UTC