chromium/content/test/data/accessibility/html/input-text-with-selection.html

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