/src/main/java/org/htmlunit/html/HtmlElement.java
else { }eventSource = null;
eventSource = null; } else {
shiftPressed_ || isShiftNeeded, ctrlPressed_, altPressed_)); } HtmlElement eventSource = this; if (!isAttachedToPage()) { final BrowserVersion browserVersion = page.getWebClient().getBrowserVersion(); if (browserVersion.hasFeature(HTMLELEMENT_DETACH_ACTIVE_TRIGGERS_NO_KEYUP_EVENT)) { <extra_id_0> eventSource = page.getBody(); } } if (eventSource != null) { final Event keyUp = new KeyboardEvent(this, Event.TYPE_KEY_UP, c, shiftPressed_ || isShiftNeeded, ctrlPressed_, altPressed_);