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

Side by Side Diff: LayoutTests/fast/forms/onselect-textfield-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 1
2 This tests onSelect for text fields. 2 This tests onSelect for text fields.
3 3
4 Calling focus on text field 4 Calling focus on text field
5 After focus: text field selection start: 0 end: 10 5 After focus: text field selection start: 0 end: 0
6 6
7 Calling setSelectionRange on text field 7 Calling setSelectionRange on text field
8 After setSelectionRange(3, 5): text field selection start: 3 end: 5 8 After setSelectionRange(3, 5): text field selection start: 3 end: 5
9 9
10 Double clicking to make selection for text field 10 Double clicking to make selection for text field
11 onselect fired for text field 11 onselect fired for text field
12 After double clicking: text field selection start: 6 end: 10 12 After double clicking: text field selection start: 6 end: 10
13 13
14 Calling blur on text field 14 Calling blur on text field
15 After blur: text field selection start: 6 end: 10 15 After blur: text field selection start: 6 end: 10
16 16
17 Calling focus on text field 17 Calling focus on text field
18 After focus: text field selection start: 6 end: 10 18 After focus: text field selection start: 6 end: 10
19 19
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698