if (aName == nsHTMLAtoms::checked && !mCheckedChanged && (mType == NS_FORM_INPUT_CHECKBOX || mType == NS_FORM_INPUT_RADIO)) { Reset(); }
  NS_IMETHOD SetAttr(PRInt32 aNameSpaceID, nsIAtom* aName,                     const nsAReadableString& aValue, PRBool aNotify) {    nsresult rv = nsGenericHTMLLeafFormElement::SetAttr(aNameSpaceID, aName,                                                        aValue, aNotify);    if (aName == nsHTMLAtoms::value && !mValueChanged        && (mType == NS_FORM_INPUT_TEXT            || mType == NS_FORM_INPUT_PASSWORD            || mType == NS_FORM_INPUT_FILE            || mType == NS_FORM_INPUT_HIDDEN)) {      Reset();    }    return rv;  }