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

Side by Side Diff: LayoutTests/fast/forms/focus-selection-input-expected.txt

Issue 222023002: focus() behaviour differs depending on how value is set (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixing selection handling of 'value' HTML attribute by initializing m_cachedSelection{Start,End} wi… Created 6 years, 8 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 unified diff | Download patch
OLDNEW
1 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n 1 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n
2 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n 2 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n
3 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n 3 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n
4 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n 4 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n
5 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n 5 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n
6 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n 6 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n
7 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n 7 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n
8 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n 8 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n
9 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n 9 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n
10 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n 10 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n
11 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n 11 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n
12 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n 12 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n
13 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n 13 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n
14 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n 14 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n
15 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n 15 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n
16 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n 16 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n
17 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n 17 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n
18 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n 18 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n
19 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n 19 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n
20 <input type="text"> focus selection 20 <input type="text"> focus selection
21 21
22 This test checks whether the selection is restored, cleared, or set to the full range when using different ways to focus a text field. These results all match M ozilla, except test 6, which selects the whole field contents to match all other cases of keyboard focus. When running manually, please follow the steps below. In the test harness, the test runs automatically. 22 This test checks whether the selection is restored, cleared, or set to the full range when using different ways to focus a text field. These results all match M ozilla, except test 6, which selects the whole field contents to match all other cases of keyboard focus. When running manually, please follow the steps below. In the test harness, the test runs automatically.
23 23
24 1) Hit tab, the whole phrase "SUCCESS and SUCCESS" should be selected: 24 1) Hit tab, the whole phrase "SUCCESS and SUCCESS" should be selected:
25 2) Hit Ctrl-Option-J (or Alt-J on Windows), the whole phrase "SUCCESS and SUCCES S" should be selected: 25 2) Hit Ctrl-Option-J (or Alt-J on Windows), the whole phrase "SUCCESS and SUCCES S" should be selected:
26 3) , only the word "SUCCESS" should be selected: 26 3) , only the word "SUCCESS" should be selected:
27 4) Click in the input field, nothing should be selected: 27 4) Click in the input field, nothing should be selected:
28 5) Click this label, only the word "SUCCESS" should be selected: 28 5) Click this label, only the word "SUCCESS" should be selected:
29 6) Hit Ctrl-Option-U (or Alt-U on Windows), the whole phrase "SUCCESS and SUCCES S" should be selected: 29 6) Hit Ctrl-Option-U (or Alt-U on Windows), nothing should be selected:
30 7) , only the word "SUCCESS" should be selected: 30 7) , only the word "SUCCESS" should be selected:
31 8) , the whole phrase "SUCCESS and SUCCESS" should be selected: 31 8) , nothing should be selected:
32 32
33 33
34 9) Hit Ctrl-Option-I (or Alt-I on Windows), the whole phrase "SUCCESS and SUCCES S" should be selected: 34 9) Hit Ctrl-Option-I (or Alt-I on Windows), nothing should be selected:
35 35
36 36
37 PASS successfullyParsed is true 37 PASS successfullyParsed is true
38 38
39 TEST COMPLETE 39 TEST COMPLETE
40 PASS first.selectionStart is 12 40 PASS first.selectionStart is 12
41 PASS first.selectionEnd is 19 41 PASS first.selectionEnd is 19
42 PASS first.selectionStart is 0 42 PASS first.selectionStart is 0
43 PASS first.selectionEnd is 19 43 PASS first.selectionEnd is 19
44 PASS second.selectionStart is 11 44 PASS second.selectionStart is 11
(...skipping 22 matching lines...) Expand all
67 PASS seventh.selectionEnd is 18 67 PASS seventh.selectionEnd is 18
68 PASS eighth.selectionStart is 12 68 PASS eighth.selectionStart is 12
69 PASS eighth.selectionEnd is 19 69 PASS eighth.selectionEnd is 19
70 PASS eighth.selectionStart is 0 70 PASS eighth.selectionStart is 0
71 PASS eighth.selectionEnd is 19 71 PASS eighth.selectionEnd is 19
72 PASS ninth.selectionStart is 12 72 PASS ninth.selectionStart is 12
73 PASS ninth.selectionEnd is 19 73 PASS ninth.selectionEnd is 19
74 PASS ninth.selectionStart is 0 74 PASS ninth.selectionStart is 0
75 PASS ninth.selectionEnd is 19 75 PASS ninth.selectionEnd is 19
76 76
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698