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

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

Issue 2411673003: [css-grid] Fix intrinsic maximums resolution with fit-content and auto (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
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 a9d80d7ebbd8775def2668b9adf41c2c2b336d45..4f2c1b480786ce30ba2a35ee105e22db52863fa6 100644
--- a/third_party/WebKit/Source/core/layout/LayoutGrid.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutGrid.cpp
@@ -1427,7 +1427,7 @@ static bool shouldProcessTrackForTrackSizeComputationPhase(
case ResolveMaxContentMinimums:
return trackSize.hasMaxContentMinTrackBreadth();
case ResolveIntrinsicMaximums:
- return trackSize.hasMinOrMaxContentMaxTrackBreadth();
+ return trackSize.hasIntrinsicMaxTrackBreadth();
case ResolveMaxContentMaximums:
return trackSize.hasMaxContentOrAutoMaxTrackBreadth();
case MaximizeTracks:

Powered by Google App Engine
This is Rietveld 408576698