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