if (aAttribute == nsHTMLAtoms::value) {
if (aAttribute == nsHTMLAtoms::value && !mValueChanged) { Reset(); } if (aAttribute == nsHTMLAtoms::checked && !mCheckedChanged) {
  NS_IMETHOD UnsetAttr(PRInt32 aNameSpaceID, nsIAtom* aAttribute,                       PRBool aNotify) {    nsresult rv = nsGenericHTMLLeafElement::UnsetAttr(aNameSpaceID,                                                      aAttribute,                                                      aNotify);    if (aAttribute == nsHTMLAtoms::value) {      Reset();    }    return rv;  }