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

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

Issue 2480493002: [css-grid] Use min|max-sizes to compute flex fraction (Closed)
Patch Set: Patch for landing Created 4 years, 1 month 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/LayoutGrid.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutGrid.h b/third_party/WebKit/Source/core/layout/LayoutGrid.h
index cd563271ebf381337a30ff9063af614baaaaaefb..45ebc4c3ba3892b0c72b2dd875cfcddbcfb644f2 100644
--- a/third_party/WebKit/Source/core/layout/LayoutGrid.h
+++ b/third_party/WebKit/Source/core/layout/LayoutGrid.h
@@ -124,6 +124,13 @@ class LayoutGrid final : public LayoutBlock {
GridSizingData&,
LayoutUnit& baseSizesWithoutMaximization,
LayoutUnit& growthLimitsWithoutMaximization) const;
+ void computeFlexSizedTracksGrowth(
+ GridTrackSizingDirection,
+ Vector<GridTrack>&,
+ const Vector<size_t>& flexibleSizedTracksIndex,
+ double flexFraction,
+ Vector<LayoutUnit>& increments,
+ LayoutUnit& totalGrowth) const;
LayoutUnit computeUsedBreadthOfMinLength(const GridTrackSize&,
LayoutUnit maxBreadth) const;
LayoutUnit computeUsedBreadthOfMaxLength(const GridTrackSize&,

Powered by Google App Engine
This is Rietveld 408576698