Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(462)

Unified Diff: Source/core/css/parser/CSSPropertyParser.cpp

Issue 457633002: Remove left-overs from -webkit-marquee-speed removal. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Don't use time for speed. Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/css/CSSValueKeywords.in ('k') | Source/core/css/resolver/StyleBuilderCustom.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..bbe4497ada385063e9b2b555ae82713b4cc386af 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, FInteger | FNonNeg);
break;
case CSSPropertyTransform:
case CSSPropertyWebkitTransform:
« no previous file with comments | « Source/core/css/CSSValueKeywords.in ('k') | Source/core/css/resolver/StyleBuilderCustom.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698