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

Unified Diff: third_party/WebKit/LayoutTests/editing/execCommand/outdent-selection.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/execCommand/outdent-selection.html
diff --git a/third_party/WebKit/LayoutTests/editing/execCommand/outdent-selection.html b/third_party/WebKit/LayoutTests/editing/execCommand/outdent-selection.html
index 8ad1863bab7c2d36f81f66689866b62b3787941c..a4d8e58bcc5efc81e2fa77cc7fdb7f8877ca8c1c 100644
--- a/third_party/WebKit/LayoutTests/editing/execCommand/outdent-selection.html
+++ b/third_party/WebKit/LayoutTests/editing/execCommand/outdent-selection.html
@@ -27,7 +27,7 @@ var s = window.getSelection();
var p1 = document.getElementById("item1");
var p2 = document.getElementById("item2");
s.collapse(p1, 0);
-s.setBaseAndExtent(p1, 0, p2, 2);
+s.setBaseAndExtent(p1, 0, p2, 1);
document.execCommand("Outdent", false, "");
Markup.description("This test uses the execCommand to Outdent the text below.\n" +
"This demonstrates a bug: the content in the blockquote that's not in a list is pulled out of position.");

Powered by Google App Engine
This is Rietveld 408576698