/src/main/java/org/htmlunit/html/HtmlElement.java
shiftDownResult = fireEvent( shiftDown) ;keyPressResult = fireEvent( keyPress) ;
keyPressResult = fireEvent ( keyPress ) ;
final BrowserVersion browserVersion = page.getWebClient().getBrowserVersion(); final Event keyPress; final ScriptResult keyPressResult; if (fireKeyPress && browserVersion.hasFeature(KEYBOARD_EVENT_SPECIAL_KEYPRESS)) { keyPress = new KeyboardEvent(this, Event.TYPE_KEY_PRESS, keyCode, shiftPressed_, ctrlPressed_, altPressed_); <extra_id_0> } else { keyPress = null; keyPressResult = null; } if (keyDown != null && !keyDown.isAborted(keyDownResult)