Wed, 31 Dec 2014 07:16:47 +0100
Revert simplistic fix pending revisit of Mozilla integration attempt.
1 <!DOCTYPE html>
2 <html contenteditable="true" class="reftest-wait">
3 <head>
4 <script>
6 function boom()
7 {
8 document.getElementById("i").select();
9 document.execCommand("forecolor", false, "green");
10 try { document.execCommand("insertunorderedlist", false, null); } catch(e){ }
11 document.execCommand("selectAll", false, null);
12 document.execCommand("contentReadOnly", false, null);
13 document.getElementById("d").contentEditable = "true";
14 document.getElementById("d").style.position = "absolute";
15 document.documentElement.focus();
16 document.execCommand("superscript", false, null);
17 window.getSelection().removeAllRanges();
18 document.documentElement.removeAttribute("class");
19 }
21 </script>
22 </head>
24 <body onload="boom();" contenteditable="false"><div id="d"><input id="i"></div></body>
26 </html>