Index: Source/core/css/parser/CSSPropertyParser.cpp |
diff --git a/Source/core/css/parser/CSSPropertyParser.cpp b/Source/core/css/parser/CSSPropertyParser.cpp |
index ce1cf8d1247902b8c16b7aaf9267437e21f48118..984dbd14493ec06669a06478e59776144260c7b6 100644 |
--- a/Source/core/css/parser/CSSPropertyParser.cpp |
+++ b/Source/core/css/parser/CSSPropertyParser.cpp |
@@ -2926,6 +2926,8 @@ PassRefPtrWillBeRawPtr<CSSValue> CSSPropertyParser::parseAnimationName() |
if (value->unit == CSSPrimitiveValue::CSS_STRING || value->unit == CSSPrimitiveValue::CSS_IDENT) { |
if (value->id == CSSValueNone || (value->unit == CSSPrimitiveValue::CSS_STRING && equalIgnoringCase(value->string, "none"))) |
return cssValuePool().createIdentifierValue(CSSValueNone); |
+ if (value->unit == CSSPrimitiveValue::CSS_STRING) |
Timothy Loh
2014/10/17 02:35:13
Move this check before the other one
alancutter (OOO until 2018)
2014/10/17 02:44:52
Good catch, thanks.
|
+ m_context.useCounter()->count(UseCounter::QuotedAnimationName); |
return createPrimitiveStringValue(value); |
} |
return nullptr; |