Reviewed by Hyatt.
[WebKit-https.git] / WebCore / khtml / css / cssstyleselector.cpp
index f6885785c697ffa51efe784e48d418d774df364a..16f8d2371415c2dc72c0090ae46798ca153a6c65 100644 (file)
@@ -2526,7 +2526,7 @@ void CSSStyleSelector::applyProperty( int id, DOM::CSSValueImpl *value )
                 apply = true;
             }
         }
-        else if (id != CSS_PROP_MAX_WIDTH && primitiveValue &&
+        if (id != CSS_PROP_MAX_WIDTH && primitiveValue &&
            primitiveValue->getIdent() == CSS_VAL_AUTO)
         {
             //kdDebug( 6080 ) << "found value=auto" << endl;