diff --git a/dom.bs b/dom.bs index 78ee63051..1ccea02f2 100644 --- a/dom.bs +++ b/dom.bs @@ -2427,10 +2427,8 @@ before a child, with an optional suppress observers flag, run its end offset by count. -
Let nodes be node's children, if node is a + {{DocumentFragment}} node, « node » otherwise.
If child's parent is not null, then:
Set removedNodes to a list solely containing child. +
Set removedNodes to « child ».
Remove child from its parent with the suppress observers flag set. @@ -2610,8 +2608,8 @@ within a parent, run these steps:
The above can only be false if child is node. -
Let nodes be node's children if node is a + {{DocumentFragment}} node, « node » otherwise. @@ -2637,11 +2635,12 @@ To replace all with a
Let addedNodes be the empty list. + +
If node is {{DocumentFragment}} node, then set addedNodes to + node's children. + +
Otherwise, if node is non-null, set addedNodes to « node ».