Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<html>
<head>
<script type="text/javascript">
function boom()
{
var v = document.getElementById("v");
v.childNodes[1].firstChild.data = "";
document.documentElement.offsetHeight;
v.appendChild(document.createTextNode("D"));
v.firstChild.remove();
}
</script>
</head>
<body onload="boom();">
<div id="v"><span>A</span><span>&#x06CC;C</span></div>
</body>
</html>