/src/main/java/org/htmlunit/html/HtmlElement.java
if ( ( shiftDownResult == null || !shiftDown.isAborted( shiftDown) ) && !keyPress.isAborted( keyPressResult) ) {
if ( ( shiftDown == null || !shiftDown.isAborted ( shiftDownResult ) ) && !keyPress.isAborted ( keyPressResult ) ) {
shiftPressed_ || isShiftNeeded, ctrlPressed_, altPressed_); final ScriptResult keyDownResult = fireEvent(keyDown); if (!keyDown.isAborted(keyDownResult)) { final Event keyPress = new KeyboardEvent(this, Event.TYPE_KEY_PRESS, c, shiftPressed_ || isShiftNeeded, ctrlPressed_, altPressed_); final ScriptResult keyPressResult = fireEvent(keyPress); <extra_id_0> doType(c, lastType); } } final WebClient webClient = page.getWebClient(); if (this instanceof HtmlTextInput || this instanceof HtmlTextArea