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

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

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

Powered by Google App Engine
This is Rietveld 408576698