Chromium Code Reviews| Index: Source/core/css/parser/CSSPropertyParser.cpp |
| diff --git a/Source/core/css/parser/CSSPropertyParser.cpp b/Source/core/css/parser/CSSPropertyParser.cpp |
| index facb105a9918d3b98fa01a3592d71241e4a7dc7e..dd83fedd24a2819d0f8f82befb2146731debdcb7 100644 |
| --- a/Source/core/css/parser/CSSPropertyParser.cpp |
| +++ b/Source/core/css/parser/CSSPropertyParser.cpp |
| @@ -1124,10 +1124,7 @@ bool CSSPropertyParser::parseValue(CSSPropertyID propId, bool important) |
| validPrimitive = validUnit(value, FInteger | FNonNeg); |
| break; |
| case CSSPropertyInternalMarqueeSpeed: |
| - if (id == CSSValueNormal || id == CSSValueSlow || id == CSSValueFast) |
| - validPrimitive = true; |
| - else |
| - validPrimitive = validUnit(value, FTime | FInteger | FNonNeg); |
| + validPrimitive = validUnit(value, FTime | FInteger | FNonNeg); |
|
Julien - ping for review
2014/08/08 17:18:34
I don't think we need FTime here as we pass in a L
rune
2014/08/10 17:13:36
Done.
|
| break; |
| case CSSPropertyTransform: |
| case CSSPropertyWebkitTransform: |