const nsString& aValue,
const nsAReadableString& aValue,
nsHTMLLIElement::StringToAttribute(nsIAtom* aAttribute,                                   const nsString& aValue,                                   nsHTMLValue& aResult){  if (aAttribute == nsHTMLAtoms::type) {    if (nsGenericHTMLElement::ParseCaseSensitiveEnumValue(aValue,                                                          kListItemTypeTable,                                                          aResult)) {      return NS_CONTENT_ATTR_HAS_VALUE;    }  }  else if (aAttribute == nsHTMLAtoms::value) {    if (nsGenericHTMLElement::ParseValue(aValue, 0, aResult, eHTMLUnit_Integer)) {      return NS_CONTENT_ATTR_HAS_VALUE;    }  }  return NS_CONTENT_ATTR_NOT_THERE;}