Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / deleting / delete-at-start-or-end.html
blob9b2049585cc8147ac1df1ceaed79172829bc131b
1 <script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
2 <script>
3 function editingTest() {
4 var selection = window.getSelection();
5 var s = document.getElementById("test");
6 selection.collapse(s, 0);
7 execDeleteCommand();
8 execForwardDeleteCommand();
10 </script>
11 <div contenteditable="true" id="test">
12 </div>
13 <script>
14 runEditingTest();
15 </script>