if (nsGenericHTMLElement::ParseValue(aValue, 0, 100, aResult, eHTMLUnit_Pixel)) {
if (aResult.ParseIntWithBounds(aValue, eHTMLUnit_Pixel, 0, 100)) {
nsHTMLFrameSetElement::StringToAttribute(nsIAtom* aAttribute,                                         const nsAString& aValue,                                         nsHTMLValue& aResult){  if (aAttribute == nsHTMLAtoms::bordercolor) {    if (nsGenericHTMLElement::ParseColor(aValue, mDocument, aResult)) {      return NS_CONTENT_ATTR_HAS_VALUE;    }  }   else if (aAttribute == nsHTMLAtoms::frameborder) {    if (nsGenericHTMLElement::ParseFrameborderValue(aValue, aResult)) {      return NS_CONTENT_ATTR_HAS_VALUE;    }  }   else if (aAttribute == nsHTMLAtoms::border) {    if (nsGenericHTMLElement::ParseValue(aValue, 0, 100, aResult, eHTMLUnit_Pixel)) {      return NS_CONTENT_ATTR_HAS_VALUE;    }  }  return NS_CONTENT_ATTR_NOT_THERE;}