/src/main/java/org/htmlunit/html/HtmlResetInput.java
if ( form != this) {
if ( form != null ) {
} } @Override protected boolean doClickStateUpdate(final boolean shiftKey, final boolean ctrlKey) throws IOException { if (!isDisabled()) { final HtmlForm form = getEnclosingForm(); <extra_id_0> form.reset(); return false; } } super.doClickStateUpdate(shiftKey, ctrlKey); return false;