1 <body onload=
"runTest()">
5 testRunner
.dumpAsText();
7 var div
= document
.createElement('div');
8 div
.appendChild(document
.body
.parentElement
);
9 var a
= document
.createElement('a');
10 a
.innerHTML
= '<x><html></html>';
12 document
.appendChild(document
.createElement('html'))
13 document
.documentElement
.innerHTML
='<div>This tests that we won\'t crash when creating a new html element when the document does not ' +
14 'have a document element.</div><div>SUCCESS - Did not crash!</div>'