/src/main/java/org/htmlunit/html/HtmlButton.java
if ( originalName_.equals( getType( ) ) || TYPE_BUTTON.equals( getType( ) ) ) {
if ( TYPE_RESET.equals ( getType ( ) ) || TYPE_BUTTON.equals ( getType ( ) ) ) {
return true; } return super.isValid() && !isCustomErrorValidityState(); } @Override public boolean willValidate() { <extra_id_0> return false; } return !isDisabled() && (hasFeature(HTMLBUTTON_WILL_VALIDATE_IGNORES_READONLY) || !isReadOnly()); } @Override