Source code

Revision control

Copy as Markdown

Other Tools

[Node-moveBefore.html]
[If node is a host-including inclusive ancestor of parent, then throw a HierarchyRequestError DOMException.]
expected: FAIL
[If node is not a DocumentFragment, DocumentType, Element, Text, ProcessingInstruction, or Comment node, then throw a HierarchyRequestError DOMException.]
expected: FAIL
[If node is a Text node and parent is a document, then throw a HierarchyRequestError DOMException.]
expected: FAIL
[If node is a doctype and parent is not a document, then throw a HierarchyRequestError DOMException.]
expected: FAIL
[If node is a DocumentFragment with multiple elements and parent is a document, then throw a HierarchyRequestError DOMException.]
expected: FAIL
[If node is a DocumentFragment with an element and parent is a document with another element, then throw a HierarchyRequestError DOMException.]
expected: FAIL
[If node is an Element and parent is a document with another element, then throw a HierarchyRequestError DOMException.]
expected: FAIL
[If node is a doctype and parent is a document with another doctype, then throw a HierarchyRequestError DOMException.]
expected: FAIL
[If node is a doctype and parent is a document with an element, then throw a HierarchyRequestError DOMException.]
expected: FAIL
[Calling moveBefore an a leaf node DocumentType must throw HIERARCHY_REQUEST_ERR.]
expected: FAIL
[Calling moveBefore an a leaf node Text must throw HIERARCHY_REQUEST_ERR.]
expected: FAIL
[Calling moveBefore an a leaf node Comment must throw HIERARCHY_REQUEST_ERR.]
expected: FAIL
[Calling moveBefore an a leaf node ProcessingInstruction must throw HIERARCHY_REQUEST_ERR.]
expected: FAIL
[Inserting a node before itself should not move the node]
expected: FAIL
[moveBefore() on disconnected parent throws a HierarchyRequestError]
expected: FAIL
[moveBefore() with disconnected target node throws a HierarchyRequestError]
expected: FAIL
[moveBefore() on a cross-document target node throws a HierarchyRequestError]
expected: FAIL
[moveBefore() into a Document throws a HierarchyRequestError]
expected: FAIL
[moveBefore() into a CharacterData throws a HierarchyRequestError]
expected: FAIL
[moveBefore() with node being an inclusive ancestor of parent throws a HierarchyRequestError]
expected: FAIL
[moveBefore() with a non-{Element, CharacterData} throws a HierarchyRequestError]
expected: FAIL
[moveBefore with an Element or CharacterData succeeds]
expected: FAIL
[moveBefore on a paragraph's Text node child]
expected: FAIL
[moveBefore with reference child whose parent is NOT the destination parent (context node) throws a NotFoundError.]
expected: FAIL