| <!-- | |
| @MAC-ALLOW:AXRole* | |
| @MAC-ALLOW:AXSubrole* | |
| @WIN-ALLOW:PROTECTED | |
| @WIN-ALLOW:IA2_STATE* | |
| @WIN-ALLOW:text-input-type* | |
| @WIN-ALLOW:value='•* | |
| @WIN-ALLOW:caret_offset* | |
| @WIN-ALLOW:ia2_hypertext=* | |
| @WIN-ALLOW:n_selections* | |
| @WIN-ALLOW:selection_start* | |
| @WIN-ALLOW:selection_end* | |
| --> | |
| <!DOCTYPE html> | |
| <html> | |
| <body> | |
| <input type="password" value="secret"> | |
| <script> | |
| var input = document.querySelector('input'); | |
| input.focus(); | |
| input.setSelectionRange(6, 6); | |
| </script> | |
| </body> | |
| </html> |