if (ParseValue(aValue, 0, aResult, eHTMLUnit_Integer)) {
if (aResult.ParseIntWithBounds(aValue, eHTMLUnit_Integer, 0)) {
nsHTMLLIElement::StringToAttribute(nsIAtom* aAttribute,                                   const nsAString& aValue,                                   nsHTMLValue& aResult){  if (aAttribute == nsHTMLAtoms::type) {    if (ParseCaseSensitiveEnumValue(aValue, kOrderedListItemTypeTable, aResult)) {      return NS_CONTENT_ATTR_HAS_VALUE;    }    if (ParseEnumValue(aValue, kUnorderedListItemTypeTable, aResult)) {      return NS_CONTENT_ATTR_HAS_VALUE;    }  }  else if (aAttribute == nsHTMLAtoms::value) {    if (ParseValue(aValue, 0, aResult, eHTMLUnit_Integer)) {      return NS_CONTENT_ATTR_HAS_VALUE;    }  }  return NS_CONTENT_ATTR_NOT_THERE;}