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