nsString& aResult) const
nsAWritableString& aResult) const
nsHTMLImageElement::AttributeToString(nsIAtom* aAttribute,                                      const nsHTMLValue& aValue,                                      nsString& aResult) const{  if (aAttribute == nsHTMLAtoms::align) {    if (eHTMLUnit_Enumerated == aValue.GetUnit()) {      nsGenericHTMLElement::AlignValueToString(aValue, aResult);      return NS_CONTENT_ATTR_HAS_VALUE;    }  }  else if (nsGenericHTMLElement::ImageAttributeToString(aAttribute,                                                        aValue, aResult)) {    return NS_CONTENT_ATTR_HAS_VALUE;  }  return mInner.AttributeToString(aAttribute, aValue, aResult);}