| <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
| <meta name="description" content="This tests html output"> |
| <title>HTML innerHTML test, including custom tags</title> |
| var n = document.getElementsByTagName("emptyCustomTag")[0]; |
| n.parentNode.insertBefore(document.createElementNS("http://webkit.org/test", "anotherEmptyCustomTag"), n.nextSibling); |
| n.parentNode.insertBefore(document.createTextNode("\n"), n.nextSibling); |
| document.getElementById("content").firstChild.nodeValue = document.body.innerHTML; |
| <pre id="content">placeholder</pre> |
| <emptyCustomTag></emptyCustomTag> |
| <customTag>more test</customTag> |
| <div id="testArea"></div> |