diff --git a/dom.bs b/dom.bs index d863002d..74a2689b 100644 --- a/dom.bs +++ b/dom.bs @@ -2663,15 +2663,15 @@ of a node into a parent before a child, run the node's shadow-including root, then throw a "{{HierarchyRequestError!!exception}}" {{DOMException}}.
-If node is not an {{Element}} or a {{CharacterData}} node, then - throw a "{{HierarchyRequestError!!exception}}" {{DOMException}}.
If parent is not an {{Element}} node, then throw a "{{HierarchyRequestError!!exception}}" {{DOMException}}.
If node is a host-including inclusive ancestor of parent, then throw a "{{HierarchyRequestError!!exception}}" {{DOMException}}. +
If node is not an {{Element}} or a {{CharacterData}} node, then + throw a "{{HierarchyRequestError!!exception}}" {{DOMException}}.
If child is non-null and its parent is not parent, then throw a "{{NotFoundError!!exception}}" {{DOMException}}.