Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(335)

Unified Diff: third_party/WebKit/Source/core/layout/LayoutFlexibleBox.cpp

Issue 2343413004: [css-flexbox] Have to call updateBlockChildDirtyBitsBeforeLayout before layoutIfNeeded (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/LayoutTests/css3/flexbox/bug527039.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/layout/LayoutFlexibleBox.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutFlexibleBox.cpp b/third_party/WebKit/Source/core/layout/LayoutFlexibleBox.cpp
index 95f3d4a5fc88c408e4ec6e29e31c3ee3c582ed14..478c3265e9db797eef635d5800592d2ec0d5cb90 100644
--- a/third_party/WebKit/Source/core/layout/LayoutFlexibleBox.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutFlexibleBox.cpp
@@ -880,6 +880,7 @@ LayoutUnit LayoutFlexibleBox::computeInnerFlexBaseSizeForChild(LayoutBox& child,
if (childLayoutType == NeverLayout)
return LayoutUnit();
+ updateBlockChildDirtyBitsBeforeLayout(childLayoutType == ForceLayout, child);
if (child.needsLayout() || childLayoutType == ForceLayout || !m_intrinsicSizeAlongMainAxis.contains(&child)) {
child.forceChildLayout();
cacheChildMainSize(child);
« no previous file with comments | « third_party/WebKit/LayoutTests/css3/flexbox/bug527039.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698