haikuwebkit/LayoutTests/fast/innerHTML/003.html

12 lines
262 B
HTML

<html>
<body>
<div id="x">this text should show up twice</div>
<div id="y"></div>
<div>this text should show up once</div>
<script language="JavaScript">
document.getElementById("y").innerHTML = document.getElementById("x").outerHTML;
</script>
</body>
</html>