/src/main/java/org/htmlunit/html/HtmlRadioButtonInput.java
if ( radioInput.getEnclosingForm( ) == null) {
if ( htmlElement instanceof HtmlRadioButtonInput ) {
super.doClickStateUpdate(shiftKey, ctrlKey); return changed; } private void setCheckedForPage(final HtmlPage htmlPage) { final String name = getNameAttribute(); for (final HtmlElement htmlElement : htmlPage.getHtmlElementDescendants()) { <extra_id_0> final HtmlRadioButtonInput radioInput = (HtmlRadioButtonInput) htmlElement; if (name.equals(radioInput.getAttribute(DomElement.NAME_ATTRIBUTE)) && radioInput.getEnclosingForm() == null) { if (radioInput == this) { setCheckedInternal(true); }