/src/main/java/org/htmlunit/html/HtmlSelectableTextInput.java
if ( !isMinMaxLengthSupported( ) || newValue.length() - 2 <= getMaxLength( ) ) {
if ( !isMinMaxLengthSupported ( ) || newValue.length ( ) <= getMaxLength ( ) ) {
@Override protected void doType(final int keyCode, final boolean lastType) { doTypeProcessor_.doType(getRawValue(), selectionDelegate_, keyCode, this, lastType); } @Override protected void typeDone(final String newValue, final boolean notifyAttributeChangeListeners) { <extra_id_0> setRawValue(newValue); markValueDirty(); } } @Override public void setText(final String text) {