Re: [whatwg/dom] Introduce `moveBefore()` state-preserving atomic move API (PR #1307)

@annevk commented on this pull request.



> @@ -4986,6 +5151,16 @@ within <a>this</a>.
 <p>The <dfn method for=Node><code>removeChild(<var>child</var>)</code></dfn> method steps are to
 return the result of <a>pre-removing</a> <var>child</var> from <a>this</a>.
 
+<p>The <dfn method for=Node><code>moveBefore(<var>node</var>, <var>child</var>)</code></dfn>
+method steps are:
+
+<ol>
+ <li><p>Let <var>return node</var> be the result of <a>pre-moving</a> <var>node</var> into
+ <a>this</a> before <var>child</var>, rethrowing any exceptions.</p></li>

We don't say rethrow.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/pull/1307#pullrequestreview-2433459757
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/dom/pull/1307/review/2433459757@github.com>

Received on Wednesday, 13 November 2024 14:43:48 UTC