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

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: Fixed inspector regression. 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
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:

Powered by Google App Engine
This is Rietveld 408576698