mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-01 14:45:29 +00:00
24 lines
384 B
HTML
24 lines
384 B
HTML
<!DOCTYPE html>
|
|
<script>
|
|
|
|
function boom()
|
|
{
|
|
var r = document.documentElement;
|
|
|
|
while (r.firstChild)
|
|
r.removeChild(r.firstChild);
|
|
|
|
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, false);
|
|
|
|
</script>
|