blob: a77373503f1ecff27998d329d3a0a3bca2b92929 [file] [log] [blame]
<p>This tests for a bug where spaces couldn't be inserted before signatures and replies.</p>
<div id="div" contenteditable="true"><br><div>There should be a single space in the paragraph above.</div></div>
<script>
var div = document.getElementById("div");
var selection = window.getSelection();
selection.setPosition(div, 0);
document.execCommand("InsertText", false, " ");
</script>