- From: Pierre-Yves Gérardy <notifications@github.com>
- Date: Tue, 14 Feb 2023 14:14:56 -0800
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 14 February 2023 22:15:08 UTC
Cruft is either not a Node, or a Node that isn't a child of `parent` (values to be ignored, in other words, per your previous post). If the method is meant to evolve in the future to accept non-child nodes, we could also throw TypeErrors for now when "cruft" is encountered, leaving room for the API update if we crack external nodes at some point. By prepending in reverse order you automatically leave the children that were not in the `nodes` array at the bottom of the child list. I had not understood you meant to append... -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/issues/586#issuecomment-1430447340 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/dom/issues/586/1430447340@github.com>
Received on Tuesday, 14 February 2023 22:15:08 UTC