Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<head>
<script type="text/javascript">
function boom()
{
var div1 = document.createElement("div");
div1.style.counterIncrement = "chicken";
div1.contentEditable = "true";
var div2 = document.createElement("div");
div2.style.counterIncrement = "chicken";
document.body.style.content = "'A'";
div1.appendChild(div2);
document.body.appendChild(div1);
div1.removeChild(div2);
}
</script>
</head>
<body onload="boom();">
</body>
</html>