if (aType) { *aType = NS_FORM_SELECT; return NS_OK;
PRBool isMultiple; GetMultiple(&isMultiple); if (isMultiple) { aType.Assign(NS_LITERAL_STRING("select-multiple")); } else { aType.Assign(NS_LITERAL_STRING("select-one"));
nsHTMLSelectElement::GetType(PRInt32* aType){  if (aType) {    *aType = NS_FORM_SELECT;    return NS_OK;  }  return NS_FORM_NOTOK;}