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