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