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