1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23
   24
   25
   26
   27
   28
   29
   30

content / test / data / accessibility / html / input-password.html [blame]

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