NS_IMETHOD SetAttribute(const nsString& aName, const nsString& aValue) { nsAutoString valueAttribute; nsHTMLAtoms::value->ToString(valueAttribute); if (PR_TRUE==valueAttribute.Equals(aName)) { SetValue(aValue);  } return mInner.SetAttribute(aName, aValue); }
NS_IMPL_ICONTENT_NO_SETPARENT_NO_SETDOCUMENT_NO_FOCUS_USING_GENERIC(mInner)
  NS_IMETHOD SetAttribute(const nsString& aName, const nsString& aValue) {     nsAutoString valueAttribute;    nsHTMLAtoms::value->ToString(valueAttribute);    if (PR_TRUE==valueAttribute.Equals(aName)) {      SetValue(aValue);      // Don't return here, need to set the attribute in the content model too.    }    return mInner.SetAttribute(aName, aValue);                                   }                                                                        