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 <html>
3 <head>
4 <script type="text/javascript">
6 function boom()
7 {
8 var w = document.getElementById("w");
9 var q = document.getElementById("q");
10 var e = document.createTextNode("");
11 document.documentElement.appendChild(document.body);
12 w.appendChild(e);
13 document.documentElement.offsetHeight;
14 w.removeChild(q);
15 document.documentElement.offsetHeight;
16 e.data += " x ";
17 }
19 </script>
20 </head>
22 <body onload="boom();"><span id="w">s‮<span id="q"></span><div></div><span>a</span></span></body>
23 </html>