Title: [112155] trunk/Source/WebCore
Revision
112155
Author
[email protected]
Date
2012-03-26 15:32:47 -0700 (Mon, 26 Mar 2012)

Log Message

SyntheticStyleCalc on an element should not force recalculation on its children
https://bugs.webkit.org/show_bug.cgi?id=79389

Patch by Rob Arnold <[email protected]> on 2012-03-26
Reviewed by Simon Fraser.

No new tests. Existing tests cover correctness, not sure how to test for performance.

* dom/Element.cpp:
(WebCore::Element::recalcStyle):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (112154 => 112155)


--- trunk/Source/WebCore/ChangeLog	2012-03-26 22:26:02 UTC (rev 112154)
+++ trunk/Source/WebCore/ChangeLog	2012-03-26 22:32:47 UTC (rev 112155)
@@ -1,3 +1,15 @@
+2012-03-26  Rob Arnold  <[email protected]>
+
+        SyntheticStyleCalc on an element should not force recalculation on its children
+        https://bugs.webkit.org/show_bug.cgi?id=79389
+
+        Reviewed by Simon Fraser.
+
+        No new tests. Existing tests cover correctness, not sure how to test for performance.
+
+        * dom/Element.cpp:
+        (WebCore::Element::recalcStyle):
+
 2012-03-26  Tony Chang  <[email protected]>
 
         apply cross axis constraints before aligning children in flexbox

Modified: trunk/Source/WebCore/dom/Element.cpp (112154 => 112155)


--- trunk/Source/WebCore/dom/Element.cpp	2012-03-26 22:26:02 UTC (rev 112154)
+++ trunk/Source/WebCore/dom/Element.cpp	2012-03-26 22:32:47 UTC (rev 112155)
@@ -1118,7 +1118,7 @@
         }
 
         if (change != Force) {
-            if (styleChangeType() >= FullStyleChange)
+            if (styleChangeType() == FullStyleChange)
                 change = Force;
             else
                 change = ch;
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to