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