if (ParseValueOrPercent(aValue, aResult, eHTMLUnit_Pixel)) {
if (aResult.ParseIntValue(aValue, eHTMLUnit_Pixel, PR_TRUE)) {
nsHTMLSharedLeafElement::StringToAttribute(nsIAtom* aAttribute,                                           const nsAString& aValue,                                           nsHTMLValue& aResult){  if (mNodeInfo->Equals(nsHTMLAtoms::embed)) {    if (aAttribute == nsHTMLAtoms::align) {      if (ParseAlignValue(aValue, aResult)) {        return NS_CONTENT_ATTR_HAS_VALUE;      }    } else if (ParseImageAttribute(aAttribute, aValue, aResult)) {      return NS_CONTENT_ATTR_HAS_VALUE;    }  } else if (mNodeInfo->Equals(nsHTMLAtoms::spacer)) {    if (aAttribute == nsHTMLAtoms::size) {      if (ParseValue(aValue, 0, aResult, eHTMLUnit_Pixel)) {        return NS_CONTENT_ATTR_HAS_VALUE;      }    } else if (aAttribute == nsHTMLAtoms::align) {      if (ParseAlignValue(aValue, aResult)) {        return NS_CONTENT_ATTR_HAS_VALUE;      }    } else if ((aAttribute == nsHTMLAtoms::width) ||               (aAttribute == nsHTMLAtoms::height)) {      if (ParseValueOrPercent(aValue, aResult, eHTMLUnit_Pixel)) {        return NS_CONTENT_ATTR_HAS_VALUE;      }    }  }  return nsGenericHTMLLeafElement::StringToAttribute(aAttribute, aValue,                                                     aResult);}