- From: Anne van Kesteren <notifications@github.com>
- Date: Fri, 13 Dec 2024 00:27:43 -0800
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 13 December 2024 08:27:47 UTC
While addressing some more nits in #1307 I realized that `moveBefore()` returning a node is a pattern we generally don't follow for new APIs: https://github.com/w3ctag/design-principles/issues/286. I'm not sure if that deviates it enough from `insertBefore()` to warrant a new name. I'm also wondering if it should be `[Unscopable]`. I think we generally agreed to do that for new APIs, but it's been hit or miss as to whether we remember. E.g., `getRootNode()` does not have this. (This is probably why it should have been an inverted flag from the beginning.) cc @domfarolino @noamr @domenic @smaug---- -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/issues/1335 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/dom/issues/1335@github.com>
Received on Friday, 13 December 2024 08:27:47 UTC