blob: e629077f17d04f25514e9742c90f1f0cb10201c2 [file] [log] [blame]
Tests that DOMImplementation.createDocumentType() properly sets the node's document to the associated document of the context object.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS docType.ownerDocument is document
PASS newDocument = document.implementation.createDocument('', null, docType) did not throw exception.
PASS newDocument.doctype is docType
PASS newDocument.doctype.ownerDocument is newDocument
PASS successfullyParsed is true
TEST COMPLETE