1 This tests shift + selecting two discontinuous elements with user-select: all. WebKit 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 element. WebKit should select both elements.
4 After clicking on the first element (Mac):
10 | "<#selection-anchor>First element<#selection-focus>"
21 After shift clicking on the second element (Mac):
27 | "<#selection-anchor>First element"
34 | "Second element<#selection-focus>"
38 After clicking on the second element (Mac):
51 | "<#selection-anchor>Second element<#selection-focus>"
55 After shift clicking on the first element (Mac):
61 | "<#selection-focus>First element"
68 | "Second element<#selection-anchor>"
72 After clicking on the first element (Win):
78 | "<#selection-focus>First element"
85 | "Second element<#selection-anchor>"
89 After shift clicking on the second element (Win):
102 | "<#selection-focus>Second element<#selection-anchor>"
106 After clicking on the second element (Win):
119 | "<#selection-anchor>Second element<#selection-focus>"
123 After shift clicking on the first element (Win):
129 | "<#selection-focus>First element"
136 | "Second<#selection-anchor> element"
140 After clicking on the first element (Unix):
146 | "<#selection-focus>First element"
153 | "Second<#selection-anchor> element"
157 After shift clicking on the second element (Unix):
170 | "<#selection-anchor>Second element<#selection-focus>"
174 After clicking on the second element (Unix):
187 | "<#selection-anchor>Second element<#selection-focus>"
191 After shift clicking on the first element (Unix):
197 | "<#selection-focus>First element"
204 | "Second<#selection-anchor> element"