Index: Source/core/css/CSSParser-in.cpp |
diff --git a/Source/core/css/CSSParser-in.cpp b/Source/core/css/CSSParser-in.cpp |
index ee73ceef792b1fbfa22a2c0387b240af85a7c388..c8105e6befeb62ff717b3632b887a3cb08d8a383 100644 |
--- a/Source/core/css/CSSParser-in.cpp |
+++ b/Source/core/css/CSSParser-in.cpp |
@@ -3089,7 +3089,7 @@ void CSSParser::addAnimationValue(RefPtr<CSSValue>& lval, PassRefPtr<CSSValue> r |
bool CSSParser::parseAnimationShorthand(CSSPropertyID propId, bool important) |
{ |
const StylePropertyShorthand& animationProperties = parsingShorthandForProperty(propId); |
- const unsigned numProperties = 7; |
+ const unsigned numProperties = 8; |
// The list of properties in the shorthand should be the same |
// length as the list with animation name in last position, even though they are |
@@ -3129,10 +3129,6 @@ bool CSSParser::parseAnimationShorthand(CSSPropertyID propId, bool important) |
break; |
} |
} |
- |
- // There are more values to process but 'none' or 'all' were already defined as the animation property, the declaration becomes invalid. |
- if (!context.animationPropertyKeywordAllowed() && context.hasCommittedFirstAnimation()) |
- return false; |
} |
// if we didn't find at least one match, this is an |