4 if (window.layoutTestController)
5 layoutTestController.dumpAsText();
9 document.getElementById('console').appendChild(document.createTextNode(msg + "\n"));
14 if (!document.doctype)
15 log("PASS: a doctype at the end of the document was ignored.");
17 log("FAIL: a doctype at the end of the document was not ignored.");
22 This tests the behavior of a Doctype at the end of the document.
23 <pre id="console"></pre>