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

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

Issue 2407243002: [css-grid] Use min-size instead of min-content for intrinsic maximums (Closed)
Patch Set: Created 4 years, 2 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/fast/css-grid-layout/grid-intrinsic-maximums-expected.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/LayoutGrid.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutGrid.cpp b/third_party/WebKit/Source/core/layout/LayoutGrid.cpp
index 4f2c1b480786ce30ba2a35ee105e22db52863fa6..b922d2e21a0692716cfc0dbed8982e7aadb27944 100644
--- a/third_party/WebKit/Source/core/layout/LayoutGrid.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutGrid.cpp
@@ -1516,9 +1516,9 @@ LayoutUnit LayoutGrid::currentItemSizeForTrackSizeComputationPhase(
GridSizingData& sizingData) const {
switch (phase) {
case ResolveIntrinsicMinimums:
+ case ResolveIntrinsicMaximums:
return minSizeForChild(gridItem, direction, sizingData);
case ResolveContentBasedMinimums:
- case ResolveIntrinsicMaximums:
return minContentForChild(gridItem, direction, sizingData);
case ResolveMaxContentMinimums:
case ResolveMaxContentMaximums:
« no previous file with comments | « third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-intrinsic-maximums-expected.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698