- From: smaug---- <notifications@github.com>
- Date: Mon, 15 Apr 2024 06:07:21 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <whatwg/dom/pull/1261/review/2001058612@github.com>
@smaug---- commented on this pull request. > @@ -2752,6 +2810,16 @@ before a <var>child</var>, with an optional <i>suppress observers flag</i>, run <var>parent</var> with <var>nodes</var>, « », <var>previousSibling</var>, and <var>child</var>. <li><p>Run the <a>children changed steps</a> for <var>parent</var>. + + <li> + <p>For each <var>node</var> in <var>nodes</var>, in <a>tree order</a>: + + <ol> + <li><p>For each <a>shadow-including inclusive descendant</a> <var>inclusiveDescendant</var> of + <var>node</var>, in <a>shadow-including tree order</a>, run the <a>post-insertion steps</a> with + <var>inclusiveDescendant</var>. + </ol> + </li> Unless I'm missing something, the pr doesn't match what Blink does. Isn't there a queue here https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/dom/container_node.cc;l=430;bpv=0;bpt=0 ? So the difference between ScriptRunner and that approach is just that ScriptRunner queues operations and NodeVector is for queuing nodes which have post insertion stuff to run. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/pull/1261#discussion_r1565765217 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/dom/pull/1261/review/2001058612@github.com>
Received on Monday, 15 April 2024 13:07:26 UTC