SyntheticStyleCalc on an element should not force recalculation on its children
[WebKit-https.git] / Source / WebCore / dom / Element.cpp
index 01cfb00ec7cead24e2197c363e78221552d2d841..ab011d14dbbd9a2311a63f299d52bcf0bd843ed0 100644 (file)
@@ -1118,7 +1118,7 @@ void Element::recalcStyle(StyleChange change)
         }
 
         if (change != Force) {
-            if (styleChangeType() >= FullStyleChange)
+            if (styleChangeType() == FullStyleChange)
                 change = Force;
             else
                 change = ch;