Editing tests should use testRunner instead of layoutTestController
[WebKit-https.git] / LayoutTests / editing / deleting / merge-into-empty-block-2.html
1 <script>
2 if (window.testRunner)
3      testRunner.dumpEditingCallbacks();
4 </script>
5 <p>When a user puts the caret at the very beginning a list and hits delete into an empty line, the list should just move up.</p>
6 <div contenteditable="true"><div><br></div><ul><li><span id="test">foo</span></li></ul></div>
7
8 <script>
9 var e = document.getElementById("test");
10 window.getSelection().setPosition(e, 0);
11
12 document.execCommand("Delete");
13 </script>