Title: [272248] branches/safari-611-branch/Source/WebCore
Revision
272248
Author
[email protected]
Date
2021-02-02 17:39:17 -0800 (Tue, 02 Feb 2021)

Log Message

Cherry-pick r271521. rdar://problem/73890570

    Mark only child for layout
    https://bugs.webkit.org/show_bug.cgi?id=218554

    Patch by Rob Buis <[email protected]> on 2021-01-15
    Reviewed by Antti Koivisto.

    Mark only child for layout in applyStretchAlignmentToChildIfNeeded.

    * rendering/RenderGrid.cpp:
    (WebCore::RenderGrid::applyStretchAlignmentToChildIfNeeded):

    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@271521 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Modified Paths

Diff

Modified: branches/safari-611-branch/Source/WebCore/ChangeLog (272247 => 272248)


--- branches/safari-611-branch/Source/WebCore/ChangeLog	2021-02-03 01:32:57 UTC (rev 272247)
+++ branches/safari-611-branch/Source/WebCore/ChangeLog	2021-02-03 01:39:17 UTC (rev 272248)
@@ -1,3 +1,32 @@
+2021-02-02  Alan Coon  <[email protected]>
+
+        Cherry-pick r271521. rdar://problem/73890570
+
+    Mark only child for layout
+    https://bugs.webkit.org/show_bug.cgi?id=218554
+    
+    Patch by Rob Buis <[email protected]> on 2021-01-15
+    Reviewed by Antti Koivisto.
+    
+    Mark only child for layout in applyStretchAlignmentToChildIfNeeded.
+    
+    * rendering/RenderGrid.cpp:
+    (WebCore::RenderGrid::applyStretchAlignmentToChildIfNeeded):
+    
+    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@271521 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+    2021-01-15  Rob Buis  <[email protected]>
+
+            Mark only child for layout
+            https://bugs.webkit.org/show_bug.cgi?id=218554
+
+            Reviewed by Antti Koivisto.
+
+            Mark only child for layout in applyStretchAlignmentToChildIfNeeded.
+
+            * rendering/RenderGrid.cpp:
+            (WebCore::RenderGrid::applyStretchAlignmentToChildIfNeeded):
+
 2021-02-01  Alan Coon  <[email protected]>
 
         Cherry-pick r271933. rdar://problem/73838863

Modified: branches/safari-611-branch/Source/WebCore/rendering/RenderGrid.cpp (272247 => 272248)


--- branches/safari-611-branch/Source/WebCore/rendering/RenderGrid.cpp	2021-02-03 01:32:57 UTC (rev 272247)
+++ branches/safari-611-branch/Source/WebCore/rendering/RenderGrid.cpp	2021-02-03 01:39:17 UTC (rev 272248)
@@ -1141,7 +1141,7 @@
         if (desiredLogicalHeight != child.logicalHeight()) {
             // FIXME: Can avoid laying out here in some cases. See https://webkit.org/b/87905.
             child.setLogicalHeight(0_lu);
-            child.setNeedsLayout();
+            child.setNeedsLayout(MarkOnlyThis);
         }
     }
 }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to