if (aType) { *aType = mType; return NS_OK; } else { return NS_FORM_NOTOK; }
nsresult rv = nsGenericHTMLLeafFormElement::GetAttr(kNameSpaceID_HTML, nsHTMLAtoms::type, aValue);  if (rv == NS_CONTENT_ATTR_NOT_THERE) aValue.Assign(NS_LITERAL_STRING("text"));  return NS_OK;
nsHTMLInputElement::GetType(PRInt32* aType){  if (aType) {    *aType = mType;    return NS_OK;  } else {    return NS_FORM_NOTOK;  }}