blob: 21195a1aac90c2dfcbb78bf844f7a68da4283639 [file] [log] [blame]
commit-queue@webkit.orgd674ff52012-02-29 16:43:31 +00001<!DOCTYPE html>
2<html>
3<script>
rniwa@webkit.org14f6b5b2012-06-13 08:51:53 +00004if (window.testRunner)
5 testRunner.dumpAsText();
commit-queue@webkit.orgd674ff52012-02-29 16:43:31 +00006</script>
7<p>
8This is to test a usecase in which caret position after deletion and the destination position coincides.
9To pass this testcase it should not crash.
10<div contenteditable="true" id="div"><hkern><span contenteditable="false"><dl>000A0<script>
11var sel = window.getSelection();
12sel.setPosition(div, 2000000000);
13document.execCommand("Delete");
14</script>