<!--
@SCRIPT:
input.QueryInterface(IAccessibleTextSelectionContainer).setSelections([{startObj: input, startOffset: 3, endObj: input, endOffset: 5}])
-->
<!DOCTYPE html>
<input id="input" value="My name is Petya">
<!--
@SCRIPT:
input.QueryInterface(IAccessibleTextSelectionContainer).setSelections([{startObj: input, startOffset: 3, endObj: input, endOffset: 5}])
-->
<!DOCTYPE html>
<input id="input" value="My name is Petya">