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