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

Unified Diff: third_party/WebKit/LayoutTests/fast/events/context-no-deselect.html

Issue 2270663002: Selection API of INPUT/TEXTAREA should not update FrameSelection without focusing. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adjust more tests Created 4 years, 4 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/fast/events/context-no-deselect.html
diff --git a/third_party/WebKit/LayoutTests/fast/events/context-no-deselect.html b/third_party/WebKit/LayoutTests/fast/events/context-no-deselect.html
index d56883ab3ce61da5afe61a46dc0138413634ba7c..d07d0105848bdd5e0d6c17b79f55bcfcb83317e4 100644
--- a/third_party/WebKit/LayoutTests/fast/events/context-no-deselect.html
+++ b/third_party/WebKit/LayoutTests/fast/events/context-no-deselect.html
@@ -8,6 +8,7 @@
// This test checks that if the user right clicks on selected text,
// the selected text doesn't change or get deselected.
var input = document.getElementById("text");
+input.focus();
input.selectionStart = 5;
input.selectionEnd = 15;

Powered by Google App Engine
This is Rietveld 408576698