OLD | NEW |
1 <!-- | 1 <!-- |
2 @MAC-ALLOW:AXRole* | 2 @MAC-ALLOW:AXRole* |
3 @MAC-ALLOW:AXPlaceholder* | 3 @MAC-ALLOW:AXPlaceholder* |
4 @WIN-ALLOW:text-input-type* | 4 @WIN-ALLOW:caret_offset* |
| 5 @WIN-ALLOW:ia2_hypertext=* |
5 @WIN-ALLOW:IA2_STATE* | 6 @WIN-ALLOW:IA2_STATE* |
6 @WIN-ALLOW:caret_offset* | |
7 @WIN-ALLOW:n_selections* | 7 @WIN-ALLOW:n_selections* |
8 @WIN-ALLOW:selection_start* | 8 @WIN-ALLOW:selection_start* |
9 @WIN-ALLOW:selection_end* | 9 @WIN-ALLOW:selection_end* |
| 10 @WIN-ALLOW:text-input-type* |
10 --> | 11 --> |
11 <!DOCTYPE html> | 12 <!DOCTYPE html> |
12 <html> | 13 <html> |
13 <body> | 14 <body> |
14 <input type="text" value="Selection"> | 15 <input type="text" value="Selection"> |
15 <script> | 16 <script> |
16 var input = document.querySelector("input"); | 17 var input = document.querySelector("input"); |
17 input.focus(); | 18 input.focus(); |
18 input.setSelectionRange(3, 5); | 19 input.setSelectionRange(3, 5); |
19 </script> | 20 </script> |
20 </body> | 21 </body> |
21 </html> | 22 </html> |
OLD | NEW |