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

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

Issue 1670643002: [css-flexbox] Fix main size calculation for overflow:auto (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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
Index: third_party/WebKit/Source/core/layout/LayoutFlexibleBox.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutFlexibleBox.h b/third_party/WebKit/Source/core/layout/LayoutFlexibleBox.h
index d2605bdb7c0a33c2c771c9e809251df8156dbc30..7f09f7015f7bb7f500d71e71f6422deb6c0291bd 100644
--- a/third_party/WebKit/Source/core/layout/LayoutFlexibleBox.h
+++ b/third_party/WebKit/Source/core/layout/LayoutFlexibleBox.h
@@ -141,6 +141,7 @@ private:
bool childHasIntrinsicMainAxisSize(const LayoutBox& child) const;
EOverflow mainAxisOverflowForChild(const LayoutBox& child) const;
EOverflow crossAxisOverflowForChild(const LayoutBox& child) const;
+ void cacheChildMainSize(const LayoutBox& child);
void layoutFlexItems(bool relayoutChildren, SubtreeLayoutScope&);
LayoutUnit autoMarginOffsetInMainAxis(const OrderedFlexItemList&, LayoutUnit& availableFreeSpace);

Powered by Google App Engine
This is Rietveld 408576698