nsGenericHTMLElement::ParseValue(aValue, 0, aResult, eHTMLUnit_Integer); return NS_CONTENT_ATTR_HAS_VALUE;
if (aResult.ParseIntWithBounds(aValue, eHTMLUnit_Integer, 0)) { return NS_CONTENT_ATTR_HAS_VALUE; }
nsHTMLSelectElement::StringToAttribute(nsIAtom* aAttribute,                              const nsString& aValue,                              nsHTMLValue& aResult){  if (aAttribute == nsHTMLAtoms::disabled) {    aResult.SetEmptyValue();    return NS_CONTENT_ATTR_HAS_VALUE;  }  else if (aAttribute == nsHTMLAtoms::multiple) {    aResult.SetEmptyValue();    return NS_CONTENT_ATTR_HAS_VALUE;  }  else if (aAttribute == nsHTMLAtoms::size) {    nsGenericHTMLElement::ParseValue(aValue, 0, aResult, eHTMLUnit_Integer);    return NS_CONTENT_ATTR_HAS_VALUE;  }  else if (aAttribute == nsHTMLAtoms::tabindex) {    nsGenericHTMLElement::ParseValue(aValue, 0, aResult, eHTMLUnit_Integer);    return NS_CONTENT_ATTR_HAS_VALUE;  }  return NS_CONTENT_ATTR_NOT_THERE;}