EnumValueToString(aValue, kInputTypeTable, aResult, PR_FALSE);
EnumValueToString(aValue, kInputTypeTable, aResult);
nsHTMLInputElement::AttributeToString(nsIAtom* aAttribute,                                      const nsHTMLValue& aValue,                                      nsAWritableString& aResult) const{  if (aAttribute == nsHTMLAtoms::type) {    if (eHTMLUnit_Enumerated == aValue.GetUnit()) {      // The DOM spec says that input types should be capitalized but      // AFAIK all existing browsers return the type in lower case,      // http://bugzilla.mozilla.org/show_bug.cgi?id=32369 is the bug      // about this problem, we pass PR_FALSE as the last argument      // here to avoid capitalizing the input type (this is required for      // backwards compatibility). -- jst@netscape.com      EnumValueToString(aValue, kInputTypeTable, aResult, PR_FALSE);      return NS_CONTENT_ATTR_HAS_VALUE;    }  }  else if (aAttribute == nsHTMLAtoms::align) {    if (eHTMLUnit_Enumerated == aValue.GetUnit()) {      AlignValueToString(aValue, aResult);      return NS_CONTENT_ATTR_HAS_VALUE;    }  }  else if (aAttribute == nsHTMLAtoms::checked) {    aResult.Assign(NS_LITERAL_STRING("checked"));    return NS_CONTENT_ATTR_HAS_VALUE;  }  else if (IsImage() && ImageAttributeToString(aAttribute, aValue,                                               aResult)) {    return NS_CONTENT_ATTR_HAS_VALUE;  }  return nsGenericHTMLLeafFormElement::AttributeToString(aAttribute, aValue,                                                         aResult);}