Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
<head>
<script>
<![CDATA[
function boom()
{
document.getElementById("d").focus();
document.execCommand("inserthtml", false, "<i><font><html><form>a</form></font>");
document.execCommand("justifyright", false, "#ffddff");
}
window.addEventListener("load", boom);
]]>
</script>
</head>
<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>
</html>