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

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

Issue 2277903003: Fix selectionDirection after setting value of TEXTAREA/INPUT. (Closed)
Patch Set: Revert DCHECK_LE Created 4 years, 4 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 Tests for selectionDirection 1 Tests for selectionDirection
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 input on Mac 6 input on Mac
7 PASS selectionDirection was "none" after focusing and setting selection by setSe lectionRange(1, 2) 7 PASS selectionDirection was "none" after focusing and setting selection by setSe lectionRange(1, 2)
8 PASS selectionDirection was "none" after focusing on another element 8 PASS selectionDirection was "none" after focusing on another element
9 PASS selectionDirection was "none" after hiding the element 9 PASS selectionDirection was "none" after hiding the element
10 PASS selectionDirection was "forward" after focusing and setting selection by se tSelectionRange(1, 2, "forward") 10 PASS selectionDirection was "forward" after focusing and setting selection by se tSelectionRange(1, 2, "forward")
(...skipping 10 matching lines...) Expand all
21 PASS selectionDirection was "forward" after hiding the element 21 PASS selectionDirection was "forward" after hiding the element
22 PASS selectionDirection was "backward" after focusing and setting selection by s electionDirection = "backward" 22 PASS selectionDirection was "backward" after focusing and setting selection by s electionDirection = "backward"
23 PASS selectionDirection was "backward" after focusing on another element 23 PASS selectionDirection was "backward" after focusing on another element
24 PASS selectionDirection was "backward" after hiding the element 24 PASS selectionDirection was "backward" after hiding the element
25 PASS selectionDirection was "forward" after extending selection forward by chara cter 25 PASS selectionDirection was "forward" after extending selection forward by chara cter
26 PASS selectionDirection was "forward" after focusing on another element 26 PASS selectionDirection was "forward" after focusing on another element
27 PASS selectionDirection was "forward" after hiding the element 27 PASS selectionDirection was "forward" after hiding the element
28 PASS selectionDirection was "backward" after extending selection backward by cha racter 28 PASS selectionDirection was "backward" after extending selection backward by cha racter
29 PASS selectionDirection was "backward" after focusing on another element 29 PASS selectionDirection was "backward" after focusing on another element
30 PASS selectionDirection was "backward" after hiding the element 30 PASS selectionDirection was "backward" after hiding the element
31 PASS selectionDirection was "none" after updating value
31 32
32 textarea on Mac 33 textarea on Mac
33 PASS selectionDirection was "none" after focusing and setting selection by setSe lectionRange(1, 2) 34 PASS selectionDirection was "none" after focusing and setting selection by setSe lectionRange(1, 2)
34 PASS selectionDirection was "none" after focusing on another element 35 PASS selectionDirection was "none" after focusing on another element
35 PASS selectionDirection was "none" after hiding the element 36 PASS selectionDirection was "none" after hiding the element
36 PASS selectionDirection was "forward" after focusing and setting selection by se tSelectionRange(1, 2, "forward") 37 PASS selectionDirection was "forward" after focusing and setting selection by se tSelectionRange(1, 2, "forward")
37 PASS selectionDirection was "forward" after focusing on another element 38 PASS selectionDirection was "forward" after focusing on another element
38 PASS selectionDirection was "forward" after hiding the element 39 PASS selectionDirection was "forward" after hiding the element
39 PASS selectionDirection was "backward" after setting selection by setSelectionRa nge(1, 2, "backward") without focus 40 PASS selectionDirection was "backward" after setting selection by setSelectionRa nge(1, 2, "backward") without focus
40 PASS selectionDirection was "backward" after focusing on another element 41 PASS selectionDirection was "backward" after focusing on another element
41 PASS selectionDirection was "backward" after hiding the element 42 PASS selectionDirection was "backward" after hiding the element
42 PASS selectionDirection was "none" after setting selection by selectionDirection = "none" without focus 43 PASS selectionDirection was "none" after setting selection by selectionDirection = "none" without focus
43 PASS selectionDirection was "none" after focusing on another element 44 PASS selectionDirection was "none" after focusing on another element
44 PASS selectionDirection was "none" after hiding the element 45 PASS selectionDirection was "none" after hiding the element
45 PASS selectionDirection was "forward" after focusing and setting selection by se lectionDirection = "forward" without focus 46 PASS selectionDirection was "forward" after focusing and setting selection by se lectionDirection = "forward" without focus
46 PASS selectionDirection was "forward" after focusing on another element 47 PASS selectionDirection was "forward" after focusing on another element
47 PASS selectionDirection was "forward" after hiding the element 48 PASS selectionDirection was "forward" after hiding the element
48 PASS selectionDirection was "backward" after focusing and setting selection by s electionDirection = "backward" 49 PASS selectionDirection was "backward" after focusing and setting selection by s electionDirection = "backward"
49 PASS selectionDirection was "backward" after focusing on another element 50 PASS selectionDirection was "backward" after focusing on another element
50 PASS selectionDirection was "backward" after hiding the element 51 PASS selectionDirection was "backward" after hiding the element
51 PASS selectionDirection was "forward" after extending selection forward by chara cter 52 PASS selectionDirection was "forward" after extending selection forward by chara cter
52 PASS selectionDirection was "forward" after focusing on another element 53 PASS selectionDirection was "forward" after focusing on another element
53 PASS selectionDirection was "forward" after hiding the element 54 PASS selectionDirection was "forward" after hiding the element
54 PASS selectionDirection was "backward" after extending selection backward by cha racter 55 PASS selectionDirection was "backward" after extending selection backward by cha racter
55 PASS selectionDirection was "backward" after focusing on another element 56 PASS selectionDirection was "backward" after focusing on another element
56 PASS selectionDirection was "backward" after hiding the element 57 PASS selectionDirection was "backward" after hiding the element
58 PASS selectionDirection was "none" after updating value
57 59
58 input on Win 60 input on Win
59 PASS selectionDirection was "forward" after focusing and setting selection by se tSelectionRange(1, 2) 61 PASS selectionDirection was "forward" after focusing and setting selection by se tSelectionRange(1, 2)
60 PASS selectionDirection was "forward" after focusing on another element 62 PASS selectionDirection was "forward" after focusing on another element
61 PASS selectionDirection was "forward" after hiding the element 63 PASS selectionDirection was "forward" after hiding the element
62 PASS selectionDirection was "forward" after focusing and setting selection by se tSelectionRange(1, 2, "forward") 64 PASS selectionDirection was "forward" after focusing and setting selection by se tSelectionRange(1, 2, "forward")
63 PASS selectionDirection was "forward" after focusing on another element 65 PASS selectionDirection was "forward" after focusing on another element
64 PASS selectionDirection was "forward" after hiding the element 66 PASS selectionDirection was "forward" after hiding the element
65 PASS selectionDirection was "backward" after setting selection by setSelectionRa nge(1, 2, "backward") without focus 67 PASS selectionDirection was "backward" after setting selection by setSelectionRa nge(1, 2, "backward") without focus
66 PASS selectionDirection was "backward" after focusing on another element 68 PASS selectionDirection was "backward" after focusing on another element
67 PASS selectionDirection was "backward" after hiding the element 69 PASS selectionDirection was "backward" after hiding the element
68 PASS selectionDirection was "forward" after setting selection by selectionDirect ion = "none" without focus 70 PASS selectionDirection was "forward" after setting selection by selectionDirect ion = "none" without focus
69 PASS selectionDirection was "forward" after focusing on another element 71 PASS selectionDirection was "forward" after focusing on another element
70 PASS selectionDirection was "forward" after hiding the element 72 PASS selectionDirection was "forward" after hiding the element
71 PASS selectionDirection was "forward" after focusing and setting selection by se lectionDirection = "forward" without focus 73 PASS selectionDirection was "forward" after focusing and setting selection by se lectionDirection = "forward" without focus
72 PASS selectionDirection was "forward" after focusing on another element 74 PASS selectionDirection was "forward" after focusing on another element
73 PASS selectionDirection was "forward" after hiding the element 75 PASS selectionDirection was "forward" after hiding the element
74 PASS selectionDirection was "backward" after focusing and setting selection by s electionDirection = "backward" 76 PASS selectionDirection was "backward" after focusing and setting selection by s electionDirection = "backward"
75 PASS selectionDirection was "backward" after focusing on another element 77 PASS selectionDirection was "backward" after focusing on another element
76 PASS selectionDirection was "backward" after hiding the element 78 PASS selectionDirection was "backward" after hiding the element
77 PASS selectionDirection was "forward" after extending selection forward by chara cter 79 PASS selectionDirection was "forward" after extending selection forward by chara cter
78 PASS selectionDirection was "forward" after focusing on another element 80 PASS selectionDirection was "forward" after focusing on another element
79 PASS selectionDirection was "forward" after hiding the element 81 PASS selectionDirection was "forward" after hiding the element
80 PASS selectionDirection was "backward" after extending selection backward by cha racter 82 PASS selectionDirection was "backward" after extending selection backward by cha racter
81 PASS selectionDirection was "backward" after focusing on another element 83 PASS selectionDirection was "backward" after focusing on another element
82 PASS selectionDirection was "backward" after hiding the element 84 PASS selectionDirection was "backward" after hiding the element
85 PASS selectionDirection was "forward" after updating value
83 86
84 textarea on Win 87 textarea on Win
85 PASS selectionDirection was "forward" after focusing and setting selection by se tSelectionRange(1, 2) 88 PASS selectionDirection was "forward" after focusing and setting selection by se tSelectionRange(1, 2)
86 PASS selectionDirection was "forward" after focusing on another element 89 PASS selectionDirection was "forward" after focusing on another element
87 PASS selectionDirection was "forward" after hiding the element 90 PASS selectionDirection was "forward" after hiding the element
88 PASS selectionDirection was "forward" after focusing and setting selection by se tSelectionRange(1, 2, "forward") 91 PASS selectionDirection was "forward" after focusing and setting selection by se tSelectionRange(1, 2, "forward")
89 PASS selectionDirection was "forward" after focusing on another element 92 PASS selectionDirection was "forward" after focusing on another element
90 PASS selectionDirection was "forward" after hiding the element 93 PASS selectionDirection was "forward" after hiding the element
91 PASS selectionDirection was "backward" after setting selection by setSelectionRa nge(1, 2, "backward") without focus 94 PASS selectionDirection was "backward" after setting selection by setSelectionRa nge(1, 2, "backward") without focus
92 PASS selectionDirection was "backward" after focusing on another element 95 PASS selectionDirection was "backward" after focusing on another element
93 PASS selectionDirection was "backward" after hiding the element 96 PASS selectionDirection was "backward" after hiding the element
94 PASS selectionDirection was "forward" after setting selection by selectionDirect ion = "none" without focus 97 PASS selectionDirection was "forward" after setting selection by selectionDirect ion = "none" without focus
95 PASS selectionDirection was "forward" after focusing on another element 98 PASS selectionDirection was "forward" after focusing on another element
96 PASS selectionDirection was "forward" after hiding the element 99 PASS selectionDirection was "forward" after hiding the element
97 PASS selectionDirection was "forward" after focusing and setting selection by se lectionDirection = "forward" without focus 100 PASS selectionDirection was "forward" after focusing and setting selection by se lectionDirection = "forward" without focus
98 PASS selectionDirection was "forward" after focusing on another element 101 PASS selectionDirection was "forward" after focusing on another element
99 PASS selectionDirection was "forward" after hiding the element 102 PASS selectionDirection was "forward" after hiding the element
100 PASS selectionDirection was "backward" after focusing and setting selection by s electionDirection = "backward" 103 PASS selectionDirection was "backward" after focusing and setting selection by s electionDirection = "backward"
101 PASS selectionDirection was "backward" after focusing on another element 104 PASS selectionDirection was "backward" after focusing on another element
102 PASS selectionDirection was "backward" after hiding the element 105 PASS selectionDirection was "backward" after hiding the element
103 PASS selectionDirection was "forward" after extending selection forward by chara cter 106 PASS selectionDirection was "forward" after extending selection forward by chara cter
104 PASS selectionDirection was "forward" after focusing on another element 107 PASS selectionDirection was "forward" after focusing on another element
105 PASS selectionDirection was "forward" after hiding the element 108 PASS selectionDirection was "forward" after hiding the element
106 PASS selectionDirection was "backward" after extending selection backward by cha racter 109 PASS selectionDirection was "backward" after extending selection backward by cha racter
107 PASS selectionDirection was "backward" after focusing on another element 110 PASS selectionDirection was "backward" after focusing on another element
108 PASS selectionDirection was "backward" after hiding the element 111 PASS selectionDirection was "backward" after hiding the element
112 PASS selectionDirection was "forward" after updating value
109 113
110 input on Unix 114 input on Unix
111 PASS selectionDirection was "forward" after focusing and setting selection by se tSelectionRange(1, 2) 115 PASS selectionDirection was "forward" after focusing and setting selection by se tSelectionRange(1, 2)
112 PASS selectionDirection was "forward" after focusing on another element 116 PASS selectionDirection was "forward" after focusing on another element
113 PASS selectionDirection was "forward" after hiding the element 117 PASS selectionDirection was "forward" after hiding the element
114 PASS selectionDirection was "forward" after focusing and setting selection by se tSelectionRange(1, 2, "forward") 118 PASS selectionDirection was "forward" after focusing and setting selection by se tSelectionRange(1, 2, "forward")
115 PASS selectionDirection was "forward" after focusing on another element 119 PASS selectionDirection was "forward" after focusing on another element
116 PASS selectionDirection was "forward" after hiding the element 120 PASS selectionDirection was "forward" after hiding the element
117 PASS selectionDirection was "backward" after setting selection by setSelectionRa nge(1, 2, "backward") without focus 121 PASS selectionDirection was "backward" after setting selection by setSelectionRa nge(1, 2, "backward") without focus
118 PASS selectionDirection was "backward" after focusing on another element 122 PASS selectionDirection was "backward" after focusing on another element
119 PASS selectionDirection was "backward" after hiding the element 123 PASS selectionDirection was "backward" after hiding the element
120 PASS selectionDirection was "forward" after setting selection by selectionDirect ion = "none" without focus 124 PASS selectionDirection was "forward" after setting selection by selectionDirect ion = "none" without focus
121 PASS selectionDirection was "forward" after focusing on another element 125 PASS selectionDirection was "forward" after focusing on another element
122 PASS selectionDirection was "forward" after hiding the element 126 PASS selectionDirection was "forward" after hiding the element
123 PASS selectionDirection was "forward" after focusing and setting selection by se lectionDirection = "forward" without focus 127 PASS selectionDirection was "forward" after focusing and setting selection by se lectionDirection = "forward" without focus
124 PASS selectionDirection was "forward" after focusing on another element 128 PASS selectionDirection was "forward" after focusing on another element
125 PASS selectionDirection was "forward" after hiding the element 129 PASS selectionDirection was "forward" after hiding the element
126 PASS selectionDirection was "backward" after focusing and setting selection by s electionDirection = "backward" 130 PASS selectionDirection was "backward" after focusing and setting selection by s electionDirection = "backward"
127 PASS selectionDirection was "backward" after focusing on another element 131 PASS selectionDirection was "backward" after focusing on another element
128 PASS selectionDirection was "backward" after hiding the element 132 PASS selectionDirection was "backward" after hiding the element
129 PASS selectionDirection was "forward" after extending selection forward by chara cter 133 PASS selectionDirection was "forward" after extending selection forward by chara cter
130 PASS selectionDirection was "forward" after focusing on another element 134 PASS selectionDirection was "forward" after focusing on another element
131 PASS selectionDirection was "forward" after hiding the element 135 PASS selectionDirection was "forward" after hiding the element
132 PASS selectionDirection was "backward" after extending selection backward by cha racter 136 PASS selectionDirection was "backward" after extending selection backward by cha racter
133 PASS selectionDirection was "backward" after focusing on another element 137 PASS selectionDirection was "backward" after focusing on another element
134 PASS selectionDirection was "backward" after hiding the element 138 PASS selectionDirection was "backward" after hiding the element
139 PASS selectionDirection was "forward" after updating value
135 140
136 textarea on Unix 141 textarea on Unix
137 PASS selectionDirection was "forward" after focusing and setting selection by se tSelectionRange(1, 2) 142 PASS selectionDirection was "forward" after focusing and setting selection by se tSelectionRange(1, 2)
138 PASS selectionDirection was "forward" after focusing on another element 143 PASS selectionDirection was "forward" after focusing on another element
139 PASS selectionDirection was "forward" after hiding the element 144 PASS selectionDirection was "forward" after hiding the element
140 PASS selectionDirection was "forward" after focusing and setting selection by se tSelectionRange(1, 2, "forward") 145 PASS selectionDirection was "forward" after focusing and setting selection by se tSelectionRange(1, 2, "forward")
141 PASS selectionDirection was "forward" after focusing on another element 146 PASS selectionDirection was "forward" after focusing on another element
142 PASS selectionDirection was "forward" after hiding the element 147 PASS selectionDirection was "forward" after hiding the element
143 PASS selectionDirection was "backward" after setting selection by setSelectionRa nge(1, 2, "backward") without focus 148 PASS selectionDirection was "backward" after setting selection by setSelectionRa nge(1, 2, "backward") without focus
144 PASS selectionDirection was "backward" after focusing on another element 149 PASS selectionDirection was "backward" after focusing on another element
145 PASS selectionDirection was "backward" after hiding the element 150 PASS selectionDirection was "backward" after hiding the element
146 PASS selectionDirection was "forward" after setting selection by selectionDirect ion = "none" without focus 151 PASS selectionDirection was "forward" after setting selection by selectionDirect ion = "none" without focus
147 PASS selectionDirection was "forward" after focusing on another element 152 PASS selectionDirection was "forward" after focusing on another element
148 PASS selectionDirection was "forward" after hiding the element 153 PASS selectionDirection was "forward" after hiding the element
149 PASS selectionDirection was "forward" after focusing and setting selection by se lectionDirection = "forward" without focus 154 PASS selectionDirection was "forward" after focusing and setting selection by se lectionDirection = "forward" without focus
150 PASS selectionDirection was "forward" after focusing on another element 155 PASS selectionDirection was "forward" after focusing on another element
151 PASS selectionDirection was "forward" after hiding the element 156 PASS selectionDirection was "forward" after hiding the element
152 PASS selectionDirection was "backward" after focusing and setting selection by s electionDirection = "backward" 157 PASS selectionDirection was "backward" after focusing and setting selection by s electionDirection = "backward"
153 PASS selectionDirection was "backward" after focusing on another element 158 PASS selectionDirection was "backward" after focusing on another element
154 PASS selectionDirection was "backward" after hiding the element 159 PASS selectionDirection was "backward" after hiding the element
155 PASS selectionDirection was "forward" after extending selection forward by chara cter 160 PASS selectionDirection was "forward" after extending selection forward by chara cter
156 PASS selectionDirection was "forward" after focusing on another element 161 PASS selectionDirection was "forward" after focusing on another element
157 PASS selectionDirection was "forward" after hiding the element 162 PASS selectionDirection was "forward" after hiding the element
158 PASS selectionDirection was "backward" after extending selection backward by cha racter 163 PASS selectionDirection was "backward" after extending selection backward by cha racter
159 PASS selectionDirection was "backward" after focusing on another element 164 PASS selectionDirection was "backward" after focusing on another element
160 PASS selectionDirection was "backward" after hiding the element 165 PASS selectionDirection was "backward" after hiding the element
166 PASS selectionDirection was "forward" after updating value
161 167
162 PASS successfullyParsed is true 168 PASS successfullyParsed is true
163 169
164 TEST COMPLETE 170 TEST COMPLETE
165 171
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698