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

WebReflection left a comment (whatwg/dom#736)

@sorvell NodeGroup is a fragment. The only difference from a fragment is that once appended in another node, it operates through its boundaries. A node in a fragment has the fragment as parentNode until it goes somewhere else and that somewhere else will be the new parent. It is literally a fragment but its owner can remove it, change it, replace its children or do everything a fragment does *even* once live but it’s entirely transparent like a fragment is once appended.

It’s really nothing new beside its boundaries that are also nothing new … the implementation works 100% and I suggest people that raise issues to try it first cause all answers are already there.

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

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

Received on Tuesday, 15 April 2025 19:18:03 UTC