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

Unified Diff: LayoutTests/fast/forms/setrangetext-out-of-range-expected.txt

Issue 764313004: Fix the problem to keep the selection when clicking the substring out of range (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years 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: LayoutTests/fast/forms/setrangetext-out-of-range-expected.txt
diff --git a/LayoutTests/fast/forms/setrangetext-out-of-range-expected.txt b/LayoutTests/fast/forms/setrangetext-out-of-range-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ecb9bd83ac950f54dea5425149c579e936aa6ea2
--- /dev/null
+++ b/LayoutTests/fast/forms/setrangetext-out-of-range-expected.txt
@@ -0,0 +1,15 @@
+This tests the selection of the text field when mouse event occurs out of range
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS textfield.selectionStart is 0
+PASS textfield.selectionEnd is 5
+
+the selection should be cleared
+PASS textfield.selectionStart is non-zero.
+PASS textfield.selectionEnd is non-zero.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698