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

Unified Diff: third_party/WebKit/LayoutTests/editing/pasteboard/cleanup-on-move.html

Issue 2693813002: Selection API: Some functions should throw InvalidNodeTypeError and IndexSizeError. (Closed)
Patch Set: adjust 2 more tests Created 3 years, 10 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
Index: third_party/WebKit/LayoutTests/editing/pasteboard/cleanup-on-move.html
diff --git a/third_party/WebKit/LayoutTests/editing/pasteboard/cleanup-on-move.html b/third_party/WebKit/LayoutTests/editing/pasteboard/cleanup-on-move.html
index 1ca9f5b670cc4baf99f1a5c0e60880342886660e..09cde65bfeed3bd3ba3975c108471eafd491a83c 100644
--- a/third_party/WebKit/LayoutTests/editing/pasteboard/cleanup-on-move.html
+++ b/third_party/WebKit/LayoutTests/editing/pasteboard/cleanup-on-move.html
@@ -13,7 +13,7 @@
Markup.description('This test drags a selection of a couple of <li> and drops them after another <li> in the same list. It verifies that no empty <li> (actually with a <br> inside) are left after the moving operation.');
if (window.testRunner) {
- selectListItems("two", "three", 5);
+ selectListItems("two", "three", 1);
Markup.dump("test", "The original list looks like this. 'two' and 'three' are selected and are going to be dropped after 'four'");
dragSelectionToTarget("two", "four");
Markup.dump("test", "'two' and 'three' should appear as <li> after 'four' and no empty <li> (nor a <br> placeholder) should be there");

Powered by Google App Engine
This is Rietveld 408576698