blob: a1a9e149348ea7c12dc6a386f5fe82a532f04781 [file] [log] [blame]
<script>
if (window.layoutTestController)
layoutTestController.dumpEditingCallbacks();
</script>
<div id="test" contenteditable="true"></div>
<script>
var s = window.getSelection();
s.setPosition(document.getElementById("test"), 0);
document.execCommand("InsertText", false, "sugare");
document.execCommand("InsertText", false, " ");
document.execCommand("InsertText", false, "sugari");
document.execCommand("InsertText", false, " ");
document.execCommand("InsertText", false, "sugarm");
document.execCommand("InsertText", false, " ");
document.execCommand("Undo");
</script>