if (aAttribute == nsHTMLAtoms::value && !GET_BOOLBIT(mBitField, BF_VALUE_CHANGED)) { Reset(); } if (aAttribute == nsHTMLAtoms::checked && !GET_BOOLBIT(mBitField, BF_CHECKED_CHANGED)) { Reset(); }
AfterSetAttr(aNameSpaceID, aAttribute, nsnull, aNotify);
  NS_IMETHOD UnsetAttr(PRInt32 aNameSpaceID, nsIAtom* aAttribute,                       PRBool aNotify) {    nsresult rv = nsGenericHTMLLeafElement::UnsetAttr(aNameSpaceID,                                                      aAttribute,                                                      aNotify);    if (aAttribute == nsHTMLAtoms::value        && !GET_BOOLBIT(mBitField, BF_VALUE_CHANGED)) {      Reset();    }    if (aAttribute == nsHTMLAtoms::checked        && !GET_BOOLBIT(mBitField, BF_CHECKED_CHANGED)) {      Reset();    }    return rv;  }