Fixed a bug I created in GetStyleHintForAttributeChange

This commit is contained in:
rods@netscape.com
1998-12-17 16:38:43 +00:00
parent 88cd2ac1d5
commit 3d20da4b17
2 changed files with 2 additions and 2 deletions
@@ -680,7 +680,7 @@ nsHTMLInputElement::GetStyleHintForAttributeChange(
PRInt32 *aHint) const
{
if (nsHTMLAtoms::checked == aAttribute ||
nsHTMLAtoms::value) {
nsHTMLAtoms::value == aAttribute) {
*aHint = (nsnull != mWidget ? NS_STYLE_HINT_CONTENT : NS_STYLE_HINT_REFLOW);
} else {
nsGenericHTMLElement::SetStyleHintForCommonAttributes(aNode, aAttribute, aHint);