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

Unified Diff: third_party/WebKit/LayoutTests/editing/pasteboard/drag-list-item.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/drag-list-item.html
diff --git a/third_party/WebKit/LayoutTests/editing/pasteboard/drag-list-item.html b/third_party/WebKit/LayoutTests/editing/pasteboard/drag-list-item.html
index 4be4200a48df1315e615cadf2c9982bd8dc756aa..ca1a0db674ac4b7de7e88762d7f19db1b584a1e0 100644
--- a/third_party/WebKit/LayoutTests/editing/pasteboard/drag-list-item.html
+++ b/third_party/WebKit/LayoutTests/editing/pasteboard/drag-list-item.html
@@ -14,14 +14,14 @@ Markup.description('This test drags a selection of one <li> and drops them after
if (window.testRunner) {
- selectListItems("two", "two", 4);
+ selectListItems("two", "two", 1);
Markup.dump("test", "The original list looks like this. 'two' is selected and is going to be dropped after 'four'");
dragSelectionToTarget("two", "four");
Markup.dump("test", "'two' should appear as a new <li> after 'four'");
document.getElementById("test").innerHTML = "<li id=\"one\">one</li><li id=\"two\">two</li>"
+ "<li id=\"three\">three</li><li id=\"four\">four</li>";
- 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'");

Powered by Google App Engine
This is Rietveld 408576698