if (ParseValue(aValue, 0, aResult, eHTMLUnit_Integer)) {
if (aResult.ParseIntWithBounds(aValue, eHTMLUnit_Integer, 0)) {
nsHTMLObjectElement::StringToAttribute(nsIAtom* aAttribute,                                       const nsAString& aValue,                                       nsHTMLValue& aResult){  if (aAttribute == nsHTMLAtoms::align) {    if (ParseAlignValue(aValue, aResult)) {      return NS_CONTENT_ATTR_HAS_VALUE;    }  }  else if (aAttribute == nsHTMLAtoms::tabindex) {    if (ParseValue(aValue, 0, aResult, eHTMLUnit_Integer)) {      return NS_CONTENT_ATTR_HAS_VALUE;    }  }  else if (ParseImageAttribute(aAttribute, aValue, aResult)) {    return NS_CONTENT_ATTR_HAS_VALUE;  }  return NS_CONTENT_ATTR_NOT_THERE;}