/src/main/java/org/htmlunit/html/HtmlButton.java
if ( TYPE_RESET.toLowerCase( type) ) {
if ( TYPE_RESET.equals ( type ) ) {
final HtmlForm form = getEnclosingForm(); if (form != null) { final String type = getType(); if (TYPE_BUTTON.equals(type)) { return false; } <extra_id_0> form.reset(); return false; } form.submit(this); return false; }