ParentNode-append.html

PASSExpected25 of 25 subtests pass547 ms

Details

Test
/dom/nodes/ParentNode-append.html
Harness
OK

Subtests

StatusSubtestMessage
PASSIf node is a host-including inclusive ancestor of parent, then throw a HierarchyRequestError DOMException.
PASSIf node is not a DocumentFragment, DocumentType, Element, Text, ProcessingInstruction, or Comment node, then throw a HierarchyRequestError DOMException.
PASSIf node is a Text node and parent is a document, then throw a HierarchyRequestError DOMException.
PASSIf node is a doctype and parent is not a document, then throw a HierarchyRequestError DOMException.
PASSIf node is a DocumentFragment with multiple elements and parent is a document, then throw a HierarchyRequestError DOMException.
PASSIf node is a DocumentFragment with an element and parent is a document with another element, then throw a HierarchyRequestError DOMException.
PASSIf node is an Element and parent is a document with another element, then throw a HierarchyRequestError DOMException.
PASSIf node is a doctype and parent is a document with another doctype, then throw a HierarchyRequestError DOMException.
PASSIf node is a doctype and parent is a document with an element, then throw a HierarchyRequestError DOMException.
PASSElement.append() without any argument, on a parent having no child.
PASSElement.append() with null as an argument, on a parent having no child.
PASSElement.append() with undefined as an argument, on a parent having no child.
PASSElement.append() with only text as an argument, on a parent having no child.
PASSElement.append() with only one element as an argument, on a parent having no child.
PASSElement.append() with null as an argument, on a parent having a child.
PASSElement.append() with one element and text as argument, on a parent having a child.
PASSElement.append() with the same element twice.
PASSDocumentFragment.append() without any argument, on a parent having no child.
PASSDocumentFragment.append() with null as an argument, on a parent having no child.
PASSDocumentFragment.append() with undefined as an argument, on a parent having no child.
PASSDocumentFragment.append() with only text as an argument, on a parent having no child.
PASSDocumentFragment.append() with only one element as an argument, on a parent having no child.
PASSDocumentFragment.append() with null as an argument, on a parent having a child.
PASSDocumentFragment.append() with one element and text as argument, on a parent having a child.
PASSDocumentFragment.append() with the same element twice.