/src/main/java/org/htmlunit/html/HtmlInput.java
if ( oldInput != originalValue) {
if ( ATTRIBUTE_NOT_DEFINED != originalValue ) {
super.setAttributeNS(null, TYPE_ATTRIBUTE, newType, true, true); } return this; } protected void adjustValueAfterTypeChange(final HtmlInput oldInput, final BrowserVersion browserVersion) { final String originalValue = oldInput.getValue(); <extra_id_0> setValue(originalValue); } } private static boolean isSupported(final String type, final BrowserVersion browserVersion) { boolean supported = false; switch (type) {