const nsString& aValue,
const nsAReadableString& aValue,
nsHTMLHRElement::StringToAttribute(nsIAtom* aAttribute,                                   const nsString& aValue,                                   nsHTMLValue& aResult){  if (aAttribute == nsHTMLAtoms::width) {    if (nsGenericHTMLElement::ParseValueOrPercent(aValue, aResult,                                                  eHTMLUnit_Pixel)) {      return NS_CONTENT_ATTR_HAS_VALUE;    }  }  else if (aAttribute == nsHTMLAtoms::size) {    if (nsGenericHTMLElement::ParseValue(aValue, 1, 100, aResult, eHTMLUnit_Pixel)) {      return NS_CONTENT_ATTR_HAS_VALUE;    }  }  else if (aAttribute == nsHTMLAtoms::noshade) {    aResult.SetEmptyValue();    return NS_CONTENT_ATTR_HAS_VALUE;  }  else if (aAttribute == nsHTMLAtoms::align) {    if (nsGenericHTMLElement::ParseEnumValue(aValue, kAlignTable, aResult)) {      return NS_CONTENT_ATTR_HAS_VALUE;    }  }  return NS_CONTENT_ATTR_NOT_THERE;}