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

Unified Diff: LayoutTests/fast/forms/setrangetext-within-events-expected.txt

Issue 507533002: Fix to keep the selection of the text field in input element after setSelectionRange is called by d… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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: LayoutTests/fast/forms/setrangetext-within-events-expected.txt
diff --git a/LayoutTests/fast/forms/setrangetext-within-events-expected.txt b/LayoutTests/fast/forms/setrangetext-within-events-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eb20e7e96da08f78df18b8442f4acca8aa59b5c5
--- /dev/null
+++ b/LayoutTests/fast/forms/setrangetext-within-events-expected.txt
@@ -0,0 +1,16 @@
+PASS successfullyParsed is true
+
+TEST COMPLETE
+focus :
+PASS textfield.selectionStart is 0
+PASS textfield.selectionEnd is 5
+mousedown :
+PASS textfield.selectionStart is 0
+PASS textfield.selectionEnd is 0
+mouseup :
+PASS textfield.selectionStart is 0
+PASS textfield.selectionEnd is 5
+click :
+PASS textfield.selectionStart is 0
+PASS textfield.selectionEnd is 5
+

Powered by Google App Engine
This is Rietveld 408576698