diff --git a/dom.bs b/dom.bs index 6eefb816..ac85d896 100644 --- a/dom.bs +++ b/dom.bs @@ -2754,10 +2754,11 @@ within a parent, run these steps: -
Specifications may define -removing steps for all or some nodes. The -algorithm is passed removedNode, and optionally oldParent, as -indicated in the remove algorithm below. +
Specifications may define removing steps and before removing steps for all or some nodes. +These algorithms are passed removedNode, and optionally oldParent, as indicated in the remove algorithm below.
To remove a node, with an optional suppress observers flag, run these steps: @@ -2767,6 +2768,12 @@ indicated in the remove algorithm below.
Assert: parent is non-null. +
Run the before removing steps with node and parent. + +
For each shadow-including descendant descendant of node, in + shadow-including tree order, run the before removing steps with + descendant.
Let index be node's index.
For each live range whose start node is an