| Index: third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp b/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
|
| index 2d99858cd70a50d93294295a234d955d2b1dbba6..af0f0c3cf40f1fca8abf92558a84da81dabc8e3c 100644
|
| --- a/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
|
| +++ b/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
|
| @@ -865,6 +865,12 @@ static CSSValue* specifiedValueForGridTrackSize(const GridTrackSize& trackSize,
|
| return specifiedValueForGridTrackBreadth(trackSize.minTrackBreadth(),
|
| style);
|
| case MinMaxTrackSizing: {
|
| + if (trackSize.minTrackBreadth().isAuto() &&
|
| + trackSize.maxTrackBreadth().isFlex()) {
|
| + return CSSPrimitiveValue::create(trackSize.maxTrackBreadth().flex(),
|
| + CSSPrimitiveValue::UnitType::Fraction);
|
| + }
|
| +
|
| auto* minMaxTrackBreadths = CSSFunctionValue::create(CSSValueMinmax);
|
| minMaxTrackBreadths->append(*specifiedValueForGridTrackBreadth(
|
| trackSize.minTrackBreadth(), style));
|
|
|