haikuwebkit/LayoutTests/fast/dom/node-iterator-with-doctype-...

18 lines
569 B
Plaintext

NodeIterator rooted at a DocumentType node not yet associated with a document:
PASS iter.referenceNode.ownerDocument is document
PASS iter.nextNode() is dt
PASS iter.nextNode() is null
PASS iter.previousNode() is dt
PASS iter.previousNode() is null
NodeIterator rooted at a DocumentType node that becomes used by a document after the iterator has been created:
PASS iter.nextNode() is dt
PASS iter.previousNode() is dt
..and after removing it from the document:
PASS iter.nextNode() is dt
PASS iter.previousNode() is dt
PASS successfullyParsed is true
TEST COMPLETE