Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<script>
function boom()
{
var r = document.documentElement;
while (r.firstChild)
r.firstChild.remove();
var a = document.createTextNode("a");
r.appendChild(a);
a.splitText(0);
a.splitText(0);
document.documentElement.offsetHeight;
r.appendChild(document.createTextNode("b"));
}
window.addEventListener("load", boom);
</script>