| Index: third_party/WebKit/Source/core/css/parser/LegacyCSSPropertyParser.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/parser/LegacyCSSPropertyParser.cpp b/third_party/WebKit/Source/core/css/parser/LegacyCSSPropertyParser.cpp
|
| index 555573cb37509bf046b9055df9335a5c2b1c4cd6..d8b26544fbf8bd465a9972be956978a13c750cda 100644
|
| --- a/third_party/WebKit/Source/core/css/parser/LegacyCSSPropertyParser.cpp
|
| +++ b/third_party/WebKit/Source/core/css/parser/LegacyCSSPropertyParser.cpp
|
| @@ -3605,7 +3605,7 @@ PassRefPtrWillBeRawPtr<CSSPrimitiveValue> CSSPropertyParser::parseGridBreadth(CS
|
| double flexValue = currentValue->fValue;
|
|
|
| // Fractional unit is a non-negative dimension.
|
| - if (flexValue <= 0)
|
| + if (flexValue < 0)
|
| return nullptr;
|
|
|
| return cssValuePool().createValue(flexValue, CSSPrimitiveValue::UnitType::Fraction);
|
|
|