const nsString& aValue,
const nsAReadableString& aValue,
nsHTMLImageElement::StringToAttribute(nsIAtom* aAttribute,                                      const nsString& aValue,                                      nsHTMLValue& aResult){  if (aAttribute == nsHTMLAtoms::align) {    if (nsGenericHTMLElement::ParseAlignValue(aValue, aResult)) {      return NS_CONTENT_ATTR_HAS_VALUE;    }  }  else if (aAttribute == nsHTMLAtoms::ismap) {    aResult.SetEmptyValue();    return NS_CONTENT_ATTR_HAS_VALUE;  }  else if (nsGenericHTMLElement::ParseImageAttribute(aAttribute,                                                     aValue, aResult)) {    return NS_CONTENT_ATTR_HAS_VALUE;  }  return NS_CONTENT_ATTR_NOT_THERE;}