Re: [whatwg/dom] Atomic move operation for element reparenting & reordering (Issue #1255)

@titoBouzout that's a *diffing* operation and it still addresses all the issue discussed in here as "*moved nodes*" might, or might not have, left the DOM before, or be fresh new. I think it's a wonderful idea and I've been asking already for that in the past but in here we need the right primitive to just move nodes (sort tables, as example, or LIs) without involving all the overhead that disconnecting and reconnecting moved nodes involve.

Once we have that, we can think about a `parent.replaceChildrenAtomic` operation as all mechanisms to do so will be already in place, imho.

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

Message ID: <whatwg/dom/issues/1255/2334269059@github.com>

Received on Friday, 6 September 2024 15:09:36 UTC