Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8)

Unified Diff: LayoutTests/editing/deleting/merge-list-items-in-same-list.html

Issue 242733004: canMergeLists() should make sure that the list items do not belong to the same list (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Review comments incorporated Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/editing/deleting/merge-list-items-in-same-list-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
+
« no previous file with comments | « no previous file | LayoutTests/editing/deleting/merge-list-items-in-same-list-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698