blob: 736a0399865b81bfd866228c2ecaf2d7c21fa917 [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