Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / editing / inserting / 5002441.html
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>