Index: third_party/WebKit/Source/core/css/properties/CSSPropertyAPIAnimationName.cpp |
diff --git a/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIAnimationName.cpp b/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIAnimationName.cpp |
new file mode 100644 |
index 0000000000000000000000000000000000000000..bd63423029a913f4817f60ba9179ad19b4b685a9 |
--- /dev/null |
+++ b/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIAnimationName.cpp |
@@ -0,0 +1,25 @@ |
+// Copyright 2017 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include "core/css/properties/CSSPropertyAPIAnimationName.h" |
+ |
+#include "core/css/parser/CSSParserLocalContext.h" |
+#include "core/css/parser/CSSPropertyParserHelpers.h" |
+#include "core/css/properties/CSSPropertyAnimationNameUtils.h" |
+ |
+class CSSParserContext; |
+ |
+namespace blink { |
+ |
+const CSSValue* CSSPropertyAPIAnimationName::parseSingleValue( |
+ CSSParserTokenRange& range, |
+ const CSSParserContext& context, |
+ const CSSParserLocalContext& local_context) { |
+ // Allow quoted name if this is an alias property. |
+ return CSSPropertyParserHelpers::ConsumeCommaSeparatedList( |
+ CSSPropertyAnimationNameUtils::ConsumeAnimationName, range, &context, |
+ local_context.GetUseAliasParsing()); |
+} |
+ |
+} // namespace blink |