Content: | |
<head> | |
<meta name="description" content="This tests html output"> | |
<title>html innerHTML test</title> | |
</head><body> | |
<span>Content:</span> | |
<pre id="content">placeholder</pre> | |
<div></div> | |
<span></span> | |
<b>test</b> | |
<br> | |
<script> | |
if (window.layoutTestController) | |
layoutTestController.dumpAsText(); | |
document.getElementById("content").firstChild.nodeValue = document.documentElement.innerHTML; | |
</script></body> | |
test | |