Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / inserting / 5002441.html
blobff7a082b7083b0328641c367638814ee2a114f59
1 <p>This tests for a bug where spaces couldn't be inserted before signatures and replies.</p>
2 <div id="div" contenteditable="true"><br><div>There should be a single space in the paragraph above.</div></div>
3 <script>
4 var div = document.getElementById("div");
5 var selection = window.getSelection();
6 selection.collapse(div, 0);
7 document.execCommand("InsertText", false, " ");
8 </script>