diff --git a/dom.bs b/dom.bs index 2a7c77e07..f1e2bfffa 100644 --- a/dom.bs +++ b/dom.bs @@ -2360,6 +2360,8 @@ of a node into a parent before a child, run the
  • If referenceChild is node, then set referenceChild to node's next sibling. +

  • Adopt node into parent's node document. +

  • Insert node into parent before referenceChild.

  • Return node. @@ -2424,8 +2426,6 @@ before a child, with an optional suppress observers flag, run

    For each node in nodes, in tree order:

      -
    1. Adopt node into parent's node document. -

    2. If child is null, then append node to parent's children. @@ -2538,6 +2538,8 @@ within a parent, run these steps:

    3. Let previousSibling be child's previous sibling. +

    4. Adopt node into parent's node document. +

    5. Let removedNodes be the empty set.

    6. @@ -2570,6 +2572,9 @@ within a parent, run these steps: within a parent, run these steps:
        +
      1. If node is non-null, then adopt node into parent's + node document. +

      2. Let removedNodes be parent's children.

      3. Let addedNodes be the empty set. @@ -5307,9 +5312,6 @@ must run these steps:

      4. If node is a shadow root, then throw a "{{HierarchyRequestError!!exception}}" {{DOMException}}. -

      5. If node is a {{DocumentFragment}} node whose - host is non-null, then return. -

      6. Adopt node into this.

      7. Return node.