nsGenericHTMLElement::EnumTable *table = kButtonTypeTable;
nsHTMLValue::EnumTable *table = kButtonTypeTable;
nsHTMLButtonElement::StringToAttribute(nsIAtom* aAttribute,                                       const nsAString& aValue,                                       nsHTMLValue& aResult){  if (aAttribute == nsHTMLAtoms::tabindex) {    if (ParseValue(aValue, 0, 32767, aResult, eHTMLUnit_Integer)) {      return NS_CONTENT_ATTR_HAS_VALUE;    }  }  else if (aAttribute == nsHTMLAtoms::type) {    nsGenericHTMLElement::EnumTable *table = kButtonTypeTable;    nsAutoString val(aValue);    while (nsnull != table->tag) {       if (val.EqualsIgnoreCase(table->tag)) {        aResult.SetIntValue(table->value, eHTMLUnit_Enumerated);        mType = table->value;          return NS_CONTENT_ATTR_HAS_VALUE;      }      table++;    }  }  else if (aAttribute == nsHTMLAtoms::disabled) {    aResult.SetEmptyValue();    return NS_CONTENT_ATTR_HAS_VALUE;  }  return NS_CONTENT_ATTR_NOT_THERE;}