Index: LayoutTests/editing/deleting/merge-lists.html |
diff --git a/LayoutTests/editing/deleting/merge-lists.html b/LayoutTests/editing/deleting/merge-lists.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..0b3983d92680355e0e640449faa8fe4bd7f9bfb3 |
--- /dev/null |
+++ b/LayoutTests/editing/deleting/merge-lists.html |
@@ -0,0 +1,20 @@ |
+<!DOCTYPE> |
+<html> |
+<body> |
+<p id="description">Placing cursor at the end of first list and executing forward delete should merge the second list with the first one.</p> |
+<div contenteditable> |
+<ol><li>one</li><li>two</li><li id="li">three</li></ol> |
+<ol><li>four</li><li>five</li><li>six</li></ol> |
+</div> |
+<script src="../../resources/dump-as-markup.js"></script> |
+<script> |
+var li = document.getElementById("li"); |
+var selection = window.getSelection(); |
+selection.collapse(li, li.childNodes[0].length); |
+document.execCommand("forwardDelete"); |
+Markup.description(document.getElementById('description').textContent); |
+Markup.dump(document.querySelector('div')); |
+</script> |
+</body> |
+</html> |
+ |