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

@triskweline moveBefore was suggested after insertBefore which is one API that covers them all and the most used to polyfill newer APIs that came after, meaning you can polyfill with ease a moveAdjacentElement through moveBefore, it’d be slower and/or slightly more awkward the other way around (as in: adjacent does a lot, before dies one thing)

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

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

Received on Thursday, 16 January 2025 08:33:16 UTC