Re: [whatwg/dom] moveBefore() cosmetic concerns (Issue #1335)

Not using `[Unscopable]` seems fine to me.

I only feel a little strongly about whether we return the node operated on or not. Personally I prefer as much consistency with `insertBefore()`, and I think it makes the API more ergonomic. That's why I like `appendChild()` compared to `append()`, personally: I like seeing `const iframe = document.appendChild(document.createElement('iframe'))`. But if Anne feels strongly, I'm happy to remove the return value.

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

Message ID: <whatwg/dom/issues/1335/2545975585@github.com>

Received on Monday, 16 December 2024 15:45:30 UTC