if (ParseValue(aValue, 0, aResult, eHTMLUnit_Pixel)) {
if (aResult.ParseIntWithBounds(aValue, eHTMLUnit_Pixel, 0)) {
nsHTMLBodyElement::StringToAttribute(nsIAtom* aAttribute,                                     const nsAString& aValue,                                     nsHTMLValue& aResult){  if ((aAttribute == nsHTMLAtoms::bgcolor) ||      (aAttribute == nsHTMLAtoms::text) ||      (aAttribute == nsHTMLAtoms::link) ||      (aAttribute == nsHTMLAtoms::alink) ||      (aAttribute == nsHTMLAtoms::vlink)) {    if (ParseColor(aValue, mDocument, aResult)) {      return NS_CONTENT_ATTR_HAS_VALUE;    }  }  else if ((aAttribute == nsHTMLAtoms::marginwidth) ||           (aAttribute == nsHTMLAtoms::marginheight) ||           (aAttribute == nsHTMLAtoms::topmargin) ||           (aAttribute == nsHTMLAtoms::leftmargin)) {    if (ParseValue(aValue, 0, aResult, eHTMLUnit_Pixel)) {      return NS_CONTENT_ATTR_HAS_VALUE;    }  }  return NS_CONTENT_ATTR_NOT_THERE;}