nsFormSubmission::GetEnumAttr(nsIForm* form, nsIAtom* atom, PRInt32* aValue)
nsFormSubmission::GetEnumAttr(nsIHTMLContent* aContent, nsIAtom* atom, PRInt32* aValue)
nsFormSubmission::GetEnumAttr(nsIForm* form, nsIAtom* atom, PRInt32* aValue){  nsCOMPtr<nsIHTMLContent> content = do_QueryInterface(form);  if (content) {    nsHTMLValue value;    if (content->GetHTMLAttribute(atom, value) == NS_CONTENT_ATTR_HAS_VALUE) {      if (eHTMLUnit_Enumerated == value.GetUnit()) {        *aValue = value.GetIntValue();      }    }  }}