- From: Anne van Kesteren <notifications@github.com>
- Date: Wed, 27 Mar 2024 10:00:07 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 27 March 2024 17:00:11 UTC
I'm also a bit at a loss as to why we'd discuss new attributes. That seems like a pretty severe layering violation? The way I see it: 1. https://dom.spec.whatwg.org/#mutation-algorithms needs to gain a new "move" operation that encapsulates argument validation, new mutation observer records, new callback steps for specifications to hook into, etc. 2. We figure out what API is best suitable for that new primitive, e.g., `parent.moveBefore(node, before)`. (Possibly multiple APIs, but best to start small and give it time to bake in multiple implementations.) -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/issues/1255#issuecomment-2023315861 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/dom/issues/1255/2023315861@github.com>
Received on Wednesday, 27 March 2024 17:00:11 UTC