2 <html xmlns="http://www.w3.org/1999/xhtml">
5 if (window.layoutTestController)
6 layoutTestController.dumpAsText();
10 document.getElementById('console').appendChild(document.createTextNode(msg + "\n"));
16 log("PASS: a doctype in a XML document is not ignored.");
18 log("FAIL: a doctype in a XML document is ignored.");
20 if (document.firstChild == document.doctype)
21 log("PASS: a doctype in an XML document is correctly set to the first child of the Document.");
23 log("FAIL: a doctype in an XML document is not correctly set to the first child of the Document.");
28 This tests the behavior of a Doctype in an XML document.
29 <pre id="console"></pre>