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..077b6ab0ef83bd593ca30b929bd5e9a93a7fb65c |
--- /dev/null |
+++ b/LayoutTests/fast/forms/setrangetext-within-events-expected.txt |
@@ -0,0 +1,33 @@ |
+This tests the selection of the text field after setSelectionRange is called |
+ |
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
+ |
+ |
+PASS successfullyParsed is true |
+ |
+TEST COMPLETE |
+focus test : |
+PASS textfield.selectionStart is 0 |
+PASS textfield.selectionEnd is 5 |
+the selection should be cleared |
+PASS textfield.selectionStart is 0 |
+PASS textfield.selectionEnd is 0 |
+mousedown test : |
+PASS textfield.selectionStart is 0 |
+PASS textfield.selectionEnd is 0 |
+the selection should be cleared |
+PASS textfield.selectionStart is 0 |
+PASS textfield.selectionEnd is 0 |
+mouseup test : |
+PASS textfield.selectionStart is 0 |
+PASS textfield.selectionEnd is 5 |
+the selection should be cleared |
+PASS textfield.selectionStart is 0 |
+PASS textfield.selectionEnd is 0 |
+click test : |
+PASS textfield.selectionStart is 0 |
+PASS textfield.selectionEnd is 5 |
+the selection should be cleared |
+PASS textfield.selectionStart is 0 |
+PASS textfield.selectionEnd is 0 |
+ |