/src/main/java/org/htmlunit/html/DomElement.java
|| this instanceof HtmlElement && ( ( HtmlElement) this).getTabIndex( ) != null) { || getPage( ).getWebClient( ).getBrowserVersion( ).hasFeature( JS_AREA_WITHOUT_HREF_FOCUSABLE) )
|| getPage ( ) .getWebClient ( ) .getBrowserVersion ( ) .hasFeature ( JS_AREA_WITHOUT_HREF_FOCUSABLE ) ) || this instanceof HtmlElement && ( ( HtmlElement ) this ) .getTabIndex ( ) != null ) {
DomElement elementToFocus = null; if (this instanceof SubmittableElement || this instanceof HtmlAnchor && ATTRIBUTE_NOT_DEFINED != ((HtmlAnchor) this).getHrefAttribute() || this instanceof HtmlArea && (ATTRIBUTE_NOT_DEFINED != ((HtmlArea) this).getHrefAttribute() <extra_id_0> elementToFocus = this; } else if (this instanceof HtmlOption) { elementToFocus = ((HtmlOption) this).getEnclosingSelect(); } if (elementToFocus == null) {