Index: Source/core/css/parser/CSSPropertyParser.cpp |
diff --git a/Source/core/css/parser/CSSPropertyParser.cpp b/Source/core/css/parser/CSSPropertyParser.cpp |
index 3a04afe066ca87930e3945a4a3bb6d7993069fd3..facb105a9918d3b98fa01a3592d71241e4a7dc7e 100644 |
--- a/Source/core/css/parser/CSSPropertyParser.cpp |
+++ b/Source/core/css/parser/CSSPropertyParser.cpp |
@@ -1115,10 +1115,7 @@ bool CSSPropertyParser::parseValue(CSSPropertyID propId, bool important) |
validPrimitive = validUnit(value, FInteger, HTMLStandardMode); |
break; |
case CSSPropertyInternalMarqueeIncrement: |
- if (id == CSSValueSmall || id == CSSValueLarge || id == CSSValueMedium) |
- validPrimitive = true; |
- else |
- validPrimitive = validUnit(value, FLength | FPercent); |
+ validPrimitive = validUnit(value, FLength | FPercent); |
break; |
case CSSPropertyInternalMarqueeRepetition: |
if (id == CSSValueInfinite) |