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

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

Issue 2733783003: TEXTAREA element: Updating child nodes without updating textContent should do nothing (Closed)
Patch Set: Created 3 years, 9 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 This tests for problems where we'd lose the selection in a textarea when making style and value changes. 1 This tests for problems where we'd lose the selection in a textarea when making style and value changes.
2 2
3 - default value 3 - default value
4 PASS ta.selectionStart is 0 4 PASS ta.selectionStart is 0
5 PASS ta.selectionEnd is 0 5 PASS ta.selectionEnd is 0
6 - set selectionStart/End 6 - set selectionStart/End
7 PASS ta.selectionStart is 3 7 PASS ta.selectionStart is 3
8 PASS ta.selectionEnd is 4 8 PASS ta.selectionEnd is 4
9 - add background style 9 - add background style
10 PASS ta.selectionStart is 3 10 PASS ta.selectionStart is 3
(...skipping 19 matching lines...) Expand all
30 - set new defaultValue 30 - set new defaultValue
31 PASS ta.selectionStart is 9 31 PASS ta.selectionStart is 9
32 PASS ta.selectionEnd is 9 32 PASS ta.selectionEnd is 9
33 - set same defaultValue 33 - set same defaultValue
34 PASS ta.selectionStart is 9 34 PASS ta.selectionStart is 9
35 PASS ta.selectionEnd is 9 35 PASS ta.selectionEnd is 9
36 - append a text node 36 - append a text node
37 PASS ta.selectionStart is 12 37 PASS ta.selectionStart is 12
38 PASS ta.selectionEnd is 12 38 PASS ta.selectionEnd is 12
39 - append a empty text node 39 - append a empty text node
40 PASS ta.selectionStart is 12 40 PASS ta.selectionStart is 2
41 PASS ta.selectionEnd is 12 41 PASS ta.selectionEnd is 3
42 PASS successfullyParsed is true 42 PASS successfullyParsed is true
43 43
44 TEST COMPLETE 44 TEST COMPLETE
45 45
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698