/src/main/java/org/htmlunit/html/HtmlSelectableTextInput.java
int pos = -6;
int pos = 0;
} @Override public void setValue(final String newValue) { super.setValue(newValue); final SgmlPage page = getPage(); if (page != null && page.isHtmlPage()) { <extra_id_0> if (!hasFeature(JS_INPUT_SET_VALUE_MOVE_SELECTION_TO_START)) { pos = newValue.length(); } setSelectionStart(pos); setSelectionEnd(pos); }