const nsString& aValue,
const nsAReadableString& aValue,
nsHTMLFrameSetElement::StringToAttribute(nsIAtom* aAttribute,                                         const nsString& aValue,                                         nsHTMLValue& aResult){  if (aAttribute == nsHTMLAtoms::bordercolor) {    if (nsGenericHTMLElement::ParseColor(aValue, mInner.mDocument, aResult)) {      return NS_CONTENT_ATTR_HAS_VALUE;    }  }   else if (aAttribute == nsHTMLAtoms::frameborder) {    // XXX need to check for correct mode    if (nsGenericHTMLElement::ParseFrameborderValue(PR_FALSE, 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;}