[css-grid] Scroll reset position when updating inner html on content
[WebKit-https.git] / LayoutTests / editing / deleting / delete-at-start-or-end.html
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.setPosition(s, 0);
7     execDeleteCommand();
8     execForwardDeleteCommand();
9 }
10 </script>
11 <div contenteditable="true" id="test">
12 </div>
13 <script>
14 runEditingTest();
15 </script>