Re: [whatwg/dom] Proposal: moveOrInsertBefore() (Issue #1406)

domfarolino left a comment (whatwg/dom#1406)

I'm struggling to see why there is compat risk in changing the moving conditions that back `moveOrInsertBefore()`, but no equivalent compat risk changing those same conditions that back `moveBefore()`? In both cases, the developer is specifying clear intent (one is more general than the other of course).

I guess @annevk is saying that the intent with `moveOrInsertBefore()` is muddier, and that the behavior change that `moveBefore()` would experience (`thrown error => successful move`) is simpler / less error-prone compared to the behavior change that `moveOrInsertBefore()` would experience (`successful insert => successful move`)? @annevk is that your argument?

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

Message ID: <whatwg/dom/issues/1406/6563959573@github.com>

Received on Sunday, 1 November 2026 21:13:22 UTC