From 17b461cbe5e020472a3cd4020f6139092c2a308d Mon Sep 17 00:00:00 2001 From: Noam Rosenthal Date: Wed, 18 Mar 2026 17:06:01 +0000 Subject: [PATCH 1/2] Differentiate between "children change" steps and "children inserted" steps. See https://github.com/whatwg/html/issues/12279 --- dom.bs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/dom.bs b/dom.bs index 6dd773de..26baf67c 100644 --- a/dom.bs +++ b/dom.bs @@ -2840,6 +2840,12 @@ that all pending node tree insertions completely finish before more inser remove, and replace data. +
+

Specifications may define +children inserted steps for all or some +nodes. The algorithm is passed no argument and is called from insert +

To insert a node node into a node parent before null or a node child, with an @@ -2952,7 +2958,8 @@ optional boolean suppressObservers (default f

  • If suppressObservers is false, then queue a tree mutation record for parent with nodes, « », previousSibling, and child. -

  • Run the children changed steps for parent. +

  • Run the children inserted steps for parent. If those are not defined, run + the children changed steps for parent.

  • Let staticNodeList be a list of nodes, initially « ».

    From c9f8fea408b885f4469c37f0fcb2b76b60a549f5 Mon Sep 17 00:00:00 2001 From: Noam Rosenthal Date: Wed, 18 Mar 2026 17:13:12 +0000 Subject: [PATCH 2/2] typo --- dom.bs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dom.bs b/dom.bs index 26baf67c..30b09df5 100644 --- a/dom.bs +++ b/dom.bs @@ -2843,7 +2843,7 @@ that all pending node tree insertions completely finish before more inser

    Specifications may define children inserted steps for all or some -nodes. The algorithm is passed no argument and is called from insertnodes. The algorithm is passed no argument and is called from insert.