Editing tests should use testRunner instead of layoutTestController
[WebKit-https.git] / LayoutTests / editing / deleting / delete-block-merge-contents-025.html
1 <!DOCTYPE html>
2 <html>
3 <script>
4 if (window.testRunner)
5     testRunner.dumpAsText();
6 </script>
7 <p>
8 This is to test a usecase in which caret position after deletion and the destination position coincides.
9 To pass this testcase it should not crash.
10 <div contenteditable="true" id="div"><hkern><span contenteditable="false"><dl>000A0<script>
11 var sel = window.getSelection();
12 sel.setPosition(div, 2000000000);
13 document.execCommand("Delete");
14 </script>