if (mNodeInfo->Equals(nsHTMLAtoms::spacer)) {
if (mNodeInfo->Equals(nsHTMLAtoms::embed)) { if (aAttribute == nsHTMLAtoms::align) { if (eHTMLUnit_Enumerated == aValue.GetUnit()) { AlignValueToString(aValue, aResult); return NS_CONTENT_ATTR_HAS_VALUE; } } else if (ImageAttributeToString(aAttribute, aValue, aResult)) { return NS_CONTENT_ATTR_HAS_VALUE; } } else if (mNodeInfo->Equals(nsHTMLAtoms::spacer)) {
nsHTMLSharedLeafElement::AttributeToString(nsIAtom* aAttribute,                                           const nsHTMLValue& aValue,                                           nsAWritableString& aResult) const{  if (mNodeInfo->Equals(nsHTMLAtoms::spacer)) {    if (aAttribute == nsHTMLAtoms::align) {      if (eHTMLUnit_Enumerated == aValue.GetUnit()) {        AlignValueToString(aValue, aResult);        return NS_CONTENT_ATTR_HAS_VALUE;      }    }  }  return nsGenericHTMLLeafElement::AttributeToString(aAttribute, aValue,                                                     aResult);}