diff --git a/dom.bs b/dom.bs index 75f117ff..2f556baa 100644 --- a/dom.bs +++ b/dom.bs @@ -2663,8 +2663,8 @@ of a node into a parent before a child, run the node's shadow-including root, then throw a "{{HierarchyRequestError!!exception}}" {{DOMException}}.

-
  • If parent is not an {{Element}} node, then throw a - "{{HierarchyRequestError!!exception}}" {{DOMException}}. +

  • If parent is not an {{Element}} or {{DocumentFragment}} node, then + throw a "{{HierarchyRequestError!!exception}}" {{DOMException}}.

  • If node is a host-including inclusive ancestor of parent, then throw a "{{HierarchyRequestError!!exception}}" {{DOMException}}.