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

Unified Diff: third_party/WebKit/LayoutTests/editing/execCommand/transpose-backslash-with-euc.html

Issue 2686663004: Selection API: Selection.extend() should throw if rangeCount is 0. (Closed)
Patch Set: focus() -> collapse() 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/transpose-backslash-with-euc.html
diff --git a/third_party/WebKit/LayoutTests/editing/execCommand/transpose-backslash-with-euc.html b/third_party/WebKit/LayoutTests/editing/execCommand/transpose-backslash-with-euc.html
index a38b1e915f2848392a1e5348f3bc53a93f857adb..09bcb8a4371b9d6e273072a59809e1d061578015 100644
--- a/third_party/WebKit/LayoutTests/editing/execCommand/transpose-backslash-with-euc.html
+++ b/third_party/WebKit/LayoutTests/editing/execCommand/transpose-backslash-with-euc.html
@@ -11,6 +11,7 @@ if (window.testRunner)
function test()
{
var backslashDivElement = document.getElementById("backslash");
+ getSelection().collapse(backslashDivElement, 0);
getSelection().extend(backslashDivElement, 1);
document.execCommand("Transpose");

Powered by Google App Engine
This is Rietveld 408576698