Index: LayoutTests/editing/deleting/merge-list-items-in-same-list.html |
diff --git a/LayoutTests/editing/deleting/merge-list-items-in-same-list.html b/LayoutTests/editing/deleting/merge-list-items-in-same-list.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..18d0b65b7f846a4b24a26d7076dfa359fd882f02 |
--- /dev/null |
+++ b/LayoutTests/editing/deleting/merge-list-items-in-same-list.html |
@@ -0,0 +1,17 @@ |
+<!DOCTYPE html> |
+<html> |
+<body> |
+<div> |
+<ul contenteditable><li>one</li><li></li><li id="li">three</li></ul> |
+</div> |
+<script src="../../resources/dump-as-markup.js"></script> |
+<script> |
+var li = document.getElementById('li'); |
+var selection = window.getSelection(); |
+selection.collapse(li, 0); |
+document.execCommand('Delete'); |
+Markup.dump(document.querySelector('div')); |
+</script> |
+</body> |
+</html> |
+ |