- From: Dominic Farolino <notifications@github.com>
- Date: Tue, 27 Aug 2024 07:05:14 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 27 August 2024 14:05:18 UTC
@domfarolino commented on this pull request. > + <li><p>Let <var>return node</var> be the result of <a>pre-inserting</a> <var>node</var> into + <a>this</a> before <var>child</var>.</p></li> Yeah I think initially I saw it as a separate primitive too, but the more I looked at it, the more the difference between the two seemed really subtle. It mostly has to do with MutationObservers (and half of the relevant logic here is tucked away in the "remove" primitive) and *not* running the post-connection steps. So I feel like we'd end up with a near line-by-line copy of "insert", modulo one or two small differences. I'll take another look to see if my intuition is accurate, but I do kinda suspect this is where we'd end up. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/pull/1307#discussion_r1732921678 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/dom/pull/1307/review/2263481695@github.com>
Received on Tuesday, 27 August 2024 14:05:18 UTC