summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/editing/deleting/delete-block-merge-contents-025.html
blob: afeb08dd852d45d4c775e57d4988c28d2e5e4d5f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!DOCTYPE html>
<html>
<script>
if (window.testRunner)
    testRunner.dumpAsText();
</script>
<p>
This is to test a usecase in which caret position after deletion and the destination position coincides.
To pass this testcase it should not crash.
<div contenteditable="true" id="div"><hkern><span contenteditable="false"><dl>000A0<script>
var sel = window.getSelection();
sel.collapse(div, div.childNodes.length);
document.execCommand("Delete");
</script>