LayoutTests:
[WebKit-https.git] / LayoutTests / editing / pasteboard / 4700297.html
1 <div id="test" contenteditable="true">There&nbsp; be no line breaks in this sentence.</div>
2
3 <script>
4 var sel = window.getSelection();
5 var e = document.getElementById("test").firstChild;
6
7 sel.setPosition(e, 0);
8 sel.modify("move", "forward", "word");
9 sel.modify("move", "forward", "character");
10 document.execCommand("InsertHTML", false, "<div>should</div>");
11 </script>