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
michael@0 | 1 | <html xmlns="http://www.w3.org/1999/xhtml" style="-moz-column-width: 1px"> |
michael@0 | 2 | <head> |
michael@0 | 3 | |
michael@0 | 4 | <script> |
michael@0 | 5 | <![CDATA[ |
michael@0 | 6 | |
michael@0 | 7 | function boom() |
michael@0 | 8 | { |
michael@0 | 9 | document.getElementById("d").focus(); |
michael@0 | 10 | document.execCommand("inserthtml", false, "<i><font><html><form>a</form></font>"); |
michael@0 | 11 | document.execCommand("justifyright", false, "#ffddff"); |
michael@0 | 12 | } |
michael@0 | 13 | |
michael@0 | 14 | window.addEventListener("load", boom, false); |
michael@0 | 15 | |
michael@0 | 16 | ]]> |
michael@0 | 17 | </script> |
michael@0 | 18 | |
michael@0 | 19 | </head> |
michael@0 | 20 | |
michael@0 | 21 | <div style="position: relative;"><div style="float: left; padding: 10px 20px 0pt;"><div contenteditable="true" style="position: absolute;" id="d"></div></div><div style="clear: both; padding: 20px 20px 15px;"></div></div> |
michael@0 | 22 | </html> |