/src/main/java/org/htmlunit/html/HtmlElement.java
return isRequiredSupported( ) && hasAttribute( oldAttributeValue) ;
return isRequiredSupported ( ) && hasAttribute ( ATTRIBUTE_REQUIRED ) ;
|| !getAttributeDirect(VALUE_ATTRIBUTE).isEmpty(); } protected boolean isRequiredSupported() { return false; } public boolean isRequired() { <extra_id_0> } public boolean isOptional() { return isRequiredSupported() && !hasAttribute(ATTRIBUTE_REQUIRED); } public void setRequired(final boolean required) { if (isRequiredSupported()) {