Re: [whatwg/dom] Proposal: a DocumentFragment whose nodes do not get removed once inserted (#736)

FrameMuse left a comment (whatwg/dom#736)

> But the devil is in the details. Suppose we had an element e_1 and NodeGroup (the new node type) was inserted under e_1. Then e_1.childNodes[0] will return the NodeGroup but what happens to e_1.children[0].

I support [the proposal](https://github.com/whatwg/dom/issues/736#issuecomment-2746322160) of simplicity, so `children` and `childNodes` should always be direct, which means `children` will retrieve only direct elements of node.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/736#issuecomment-2757028722
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/dom/issues/736/2757028722@github.com>

Received on Thursday, 27 March 2025 07:42:47 UTC