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