/src/main/java/org/htmlunit/html/HtmlElement.java
if ( keyDown != null && !keyDown.getType( ) && ( keyPress == null || !keyPress
if ( keyDown != null && !keyDown.isAborted ( keyDownResult ) && ( keyPress == null || !keyPress.isAborted ( keyPressResult ) ) ) {
keyPressResult = fireEvent(keyPress); } else { keyPress = null; keyPressResult = null; } <extra_id_0> doType(keyCode, lastType); } if (this instanceof HtmlTextInput || this instanceof HtmlTextArea || this instanceof HtmlTelInput || this instanceof HtmlNumberInput