if (ParseEnumValue(aValue, kCaptionAlignTable, aResult)) {
if (aResult.ParseEnumValue(aValue, kCaptionAlignTable)) {
nsHTMLTableCaptionElement::StringToAttribute(nsIAtom* aAttribute,                                      const nsAString& aValue,                                      nsHTMLValue&    aResult){  if (aAttribute == nsHTMLAtoms::align) {    if (ParseEnumValue(aValue, kCaptionAlignTable, aResult)) {      return NS_CONTENT_ATTR_HAS_VALUE;    }  }  return NS_CONTENT_ATTR_NOT_THERE;}