Index: Source/core/css/parser/CSSPropertyParser.cpp |
diff --git a/Source/core/css/parser/CSSPropertyParser.cpp b/Source/core/css/parser/CSSPropertyParser.cpp |
index 0329919790cbd0f683b2aa50737901cd1235bf96..0848095e0618e68cd698dd100ddfefeda5763c06 100644 |
--- a/Source/core/css/parser/CSSPropertyParser.cpp |
+++ b/Source/core/css/parser/CSSPropertyParser.cpp |
@@ -824,7 +824,7 @@ bool CSSPropertyParser::parseValue(CSSPropertyID propId, bool important) |
// fall through |
case CSSPropertyWebkitMinLogicalWidth: |
case CSSPropertyWebkitMinLogicalHeight: |
- validPrimitive = validWidthOrHeight(value, unitless); |
+ validPrimitive = (id == CSSValueAuto || validWidthOrHeight(value, unitless)); |
break; |
case CSSPropertyWidth: |