nsHTMLImageElement::GetWidth(nsString& aValue)
nsHTMLImageElement::GetWidth(nsAWritableString& aValue)
nsHTMLImageElement::GetWidth(nsString& aValue){  nsresult rv = mInner.GetAttribute(kNameSpaceID_None, nsHTMLAtoms::width,                                    aValue);  if (rv == NS_CONTENT_ATTR_NOT_THERE) {    PRInt32 width = 0;    aValue.Truncate();     // A zero width most likely means that the image is not loaded yet.    if (NS_SUCCEEDED(GetWidth(&width)) && width) {      aValue.AppendInt(width);      aValue.AppendWithConversion("px");    }  }  return NS_OK;}