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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/forms/textarea-selection-preservation-expected.txt

Issue 1524663002: Move textarea-related tests to fast/forms/textarea/, part 2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 unified diff | Download patch
OLDNEW
(Empty)
1 This tests for problems where we'd lose the selection in a textarea when making style and value changes.
2
3 - default value
4 PASS ta.selectionStart is 0
5 PASS ta.selectionEnd is 0
6 - set selectionStart/End
7 PASS ta.selectionStart is 3
8 PASS ta.selectionEnd is 4
9 - add background style
10 PASS ta.selectionStart is 3
11 PASS ta.selectionEnd is 4
12 - set value to same value
13 PASS ta.selectionStart is 3
14 PASS ta.selectionEnd is 4
15 - set value to a different value
16 PASS ta.selectionStart is 6
17 PASS ta.selectionEnd is 6
18 - set selection so we can test again without a trailing newline
19 PASS ta.selectionStart is 3
20 PASS ta.selectionEnd is 4
21 - add background style
22 PASS ta.selectionStart is 3
23 PASS ta.selectionEnd is 4
24 - set value to same value
25 PASS ta.selectionStart is 3
26 PASS ta.selectionEnd is 4
27 - reset form
28 PASS ta.selectionStart is 7
29 PASS ta.selectionEnd is 7
30 - set new defaultValue
31 PASS ta.selectionStart is 9
32 PASS ta.selectionEnd is 9
33 - set same defaultValue
34 PASS ta.selectionStart is 9
35 PASS ta.selectionEnd is 9
36 - append a text node
37 PASS ta.selectionStart is 12
38 PASS ta.selectionEnd is 12
39 - append a empty text node
40 PASS ta.selectionStart is 12
41 PASS ta.selectionEnd is 12
42 PASS successfullyParsed is true
43
44 TEST COMPLETE
45
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698