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><html><script>
3 function boom()
4 {
5 while (document.documentElement.firstChild)
6 document.documentElement.removeChild(document.documentElement.firstChild);
7 document.documentElement.contentEditable = "true";
8 document.execCommand("strikethrough", false, null);
9 try { document.execCommand("justifyfull", false, null); } catch(e) { }
10 document.documentElement.offsetHeight;
11 try { document.execCommand("delete", false, null); } catch(e) { }
12 document.execCommand("inserthtml", false, "<span> <\/span>");
13 }
14 window.addEventListener("load", boom, false);
16 </script></html>