Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
1 <!DOCTYPE html>
2 <script>
4 function boom()
5 {
6 var r = document.documentElement;
8 while (r.firstChild)
9 r.removeChild(r.firstChild);
11 var a = document.createTextNode("a");
12 r.appendChild(a);
13 a.splitText(0);
14 a.splitText(0);
16 document.documentElement.offsetHeight;
18 r.appendChild(document.createTextNode("b"));
19 }
21 window.addEventListener("load", boom, false);
23 </script>