OLD | NEW |
1 This tests shift + selecting two discontinuous elements with user-select: all. W
ebKit should select the both elements instead of moving the selection. | 1 This tests shift + selecting two discontinuous elements with user-select: all. W
ebKit should select the both elements instead of moving the selection. |
2 To manually test, click to select the first element and shift-click the second e
lement. WebKit should select both elements. | 2 To manually test, click to select the first element and shift-click the second e
lement. WebKit should select both elements. |
3 | 3 |
4 After clicking on the first element (Mac): | 4 After clicking on the first element (Mac): |
5 | " | 5 | " |
6 " | 6 " |
7 | <div> | 7 | <div> |
8 | class="select-all" | 8 | class="select-all" |
9 | id="first" | 9 | id="first" |
10 | "F<#selection-caret>irst element" | 10 | "<#selection-anchor>First element<#selection-focus>" |
11 | " | 11 | " |
12 Some other text. | 12 Some other text. |
13 " | 13 " |
14 | <div> | 14 | <div> |
15 | class="select-all" | 15 | class="select-all" |
16 | id="second" | 16 | id="second" |
17 | "Second element" | 17 | "Second element" |
18 | " | 18 | " |
19 " | 19 " |
20 | 20 |
21 After shift clicking on the second element (Mac): | 21 After shift clicking on the second element (Mac): |
22 | " | 22 | " |
23 " | 23 " |
24 | <div> | 24 | <div> |
25 | class="select-all" | 25 | class="select-all" |
26 | id="first" | 26 | id="first" |
27 | "F<#selection-anchor>irst element" | 27 | "<#selection-anchor>First element" |
28 | " | 28 | " |
29 Some other text. | 29 Some other text. |
30 " | 30 " |
31 | <div> | 31 | <div> |
32 | class="select-all" | 32 | class="select-all" |
33 | id="second" | 33 | id="second" |
34 | "S<#selection-focus>econd element" | 34 | "Second element<#selection-focus>" |
35 | " | 35 | " |
36 " | 36 " |
37 | 37 |
38 After clicking on the second element (Mac): | 38 After clicking on the second element (Mac): |
39 | " | 39 | " |
40 " | 40 " |
41 | <div> | 41 | <div> |
42 | class="select-all" | 42 | class="select-all" |
43 | id="first" | 43 | id="first" |
44 | "First element" | 44 | "First element" |
45 | " | 45 | " |
46 Some other text. | 46 Some other text. |
47 " | 47 " |
48 | <div> | 48 | <div> |
49 | class="select-all" | 49 | class="select-all" |
50 | id="second" | 50 | id="second" |
51 | "<#selection-anchor>Second<#selection-focus> element" | 51 | "<#selection-anchor>Second element<#selection-focus>" |
52 | " | 52 | " |
53 " | 53 " |
54 | 54 |
55 After shift clicking on the first element (Mac): | 55 After shift clicking on the first element (Mac): |
56 | " | 56 | " |
57 " | 57 " |
58 | <div> | 58 | <div> |
59 | class="select-all" | 59 | class="select-all" |
60 | id="first" | 60 | id="first" |
61 | "<#selection-focus>First element" | 61 | "<#selection-focus>First element" |
62 | " | 62 | " |
63 Some other text. | 63 Some other text. |
64 " | 64 " |
65 | <div> | 65 | <div> |
66 | class="select-all" | 66 | class="select-all" |
67 | id="second" | 67 | id="second" |
68 | "Second <#selection-anchor>element" | 68 | "Second element<#selection-anchor>" |
69 | " | 69 | " |
70 " | 70 " |
71 | 71 |
72 After clicking on the first element (Win): | 72 After clicking on the first element (Win): |
73 | " | 73 | " |
74 " | 74 " |
75 | <div> | 75 | <div> |
76 | class="select-all" | 76 | class="select-all" |
77 | id="first" | 77 | id="first" |
78 | "<#selection-focus>First element" | 78 | "<#selection-focus>First element" |
79 | " | 79 | " |
80 Some other text. | 80 Some other text. |
81 " | 81 " |
82 | <div> | 82 | <div> |
83 | class="select-all" | 83 | class="select-all" |
84 | id="second" | 84 | id="second" |
85 | "Second <#selection-anchor>element" | 85 | "Second element<#selection-anchor>" |
86 | " | 86 | " |
87 " | 87 " |
88 | 88 |
89 After shift clicking on the second element (Win): | 89 After shift clicking on the second element (Win): |
90 | " | 90 | " |
91 " | 91 " |
92 | <div> | 92 | <div> |
93 | class="select-all" | 93 | class="select-all" |
94 | id="first" | 94 | id="first" |
95 | "First element" | 95 | "First element" |
96 | " | 96 | " |
97 Some other text. | 97 Some other text. |
98 " | 98 " |
99 | <div> | 99 | <div> |
100 | class="select-all" | 100 | class="select-all" |
101 | id="second" | 101 | id="second" |
102 | "<#selection-focus>Second <#selection-anchor>element" | 102 | "<#selection-focus>Second element<#selection-anchor>" |
103 | " | 103 | " |
104 " | 104 " |
105 | 105 |
106 After clicking on the second element (Win): | 106 After clicking on the second element (Win): |
107 | " | 107 | " |
108 " | 108 " |
109 | <div> | 109 | <div> |
110 | class="select-all" | 110 | class="select-all" |
111 | id="first" | 111 | id="first" |
112 | "First element" | 112 | "First element" |
113 | " | 113 | " |
114 Some other text. | 114 Some other text. |
115 " | 115 " |
116 | <div> | 116 | <div> |
117 | class="select-all" | 117 | class="select-all" |
118 | id="second" | 118 | id="second" |
119 | "<#selection-anchor>Second<#selection-focus> element" | 119 | "<#selection-anchor>Second element<#selection-focus>" |
120 | " | 120 | " |
121 " | 121 " |
122 | 122 |
123 After shift clicking on the first element (Win): | 123 After shift clicking on the first element (Win): |
124 | " | 124 | " |
125 " | 125 " |
126 | <div> | 126 | <div> |
127 | class="select-all" | 127 | class="select-all" |
128 | id="first" | 128 | id="first" |
129 | "<#selection-focus>First element" | 129 | "<#selection-focus>First element" |
(...skipping 30 matching lines...) Expand all Loading... |
160 | <div> | 160 | <div> |
161 | class="select-all" | 161 | class="select-all" |
162 | id="first" | 162 | id="first" |
163 | "First element" | 163 | "First element" |
164 | " | 164 | " |
165 Some other text. | 165 Some other text. |
166 " | 166 " |
167 | <div> | 167 | <div> |
168 | class="select-all" | 168 | class="select-all" |
169 | id="second" | 169 | id="second" |
170 | "<#selection-anchor>Second<#selection-focus> element" | 170 | "<#selection-anchor>Second element<#selection-focus>" |
171 | " | 171 | " |
172 " | 172 " |
173 | 173 |
174 After clicking on the second element (Unix): | 174 After clicking on the second element (Unix): |
175 | " | 175 | " |
176 " | 176 " |
177 | <div> | 177 | <div> |
178 | class="select-all" | 178 | class="select-all" |
179 | id="first" | 179 | id="first" |
180 | "First element" | 180 | "First element" |
181 | " | 181 | " |
182 Some other text. | 182 Some other text. |
183 " | 183 " |
184 | <div> | 184 | <div> |
185 | class="select-all" | 185 | class="select-all" |
186 | id="second" | 186 | id="second" |
187 | "<#selection-anchor>Second<#selection-focus> element" | 187 | "<#selection-anchor>Second element<#selection-focus>" |
188 | " | 188 | " |
189 " | 189 " |
190 | 190 |
191 After shift clicking on the first element (Unix): | 191 After shift clicking on the first element (Unix): |
192 | " | 192 | " |
193 " | 193 " |
194 | <div> | 194 | <div> |
195 | class="select-all" | 195 | class="select-all" |
196 | id="first" | 196 | id="first" |
197 | "<#selection-focus>First element" | 197 | "<#selection-focus>First element" |
198 | " | 198 | " |
199 Some other text. | 199 Some other text. |
200 " | 200 " |
201 | <div> | 201 | <div> |
202 | class="select-all" | 202 | class="select-all" |
203 | id="second" | 203 | id="second" |
204 | "Second<#selection-anchor> element" | 204 | "Second<#selection-anchor> element" |
205 | " | 205 | " |
206 " | 206 " |
OLD | NEW |