OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "core/css/properties/CSSPropertyAPIAnimationName.h" |
| 6 |
| 7 #include "core/css/parser/CSSParserLocalContext.h" |
| 8 #include "core/css/parser/CSSPropertyParserHelpers.h" |
| 9 #include "core/css/properties/CSSPropertyAnimationNameUtils.h" |
| 10 |
| 11 class CSSParserContext; |
| 12 |
| 13 namespace blink { |
| 14 |
| 15 const CSSValue* CSSPropertyAPIAnimationName::parseSingleValue( |
| 16 CSSParserTokenRange& range, |
| 17 const CSSParserContext& context, |
| 18 const CSSParserLocalContext& local_context) { |
| 19 // Allow quoted name if this is an alias property. |
| 20 return CSSPropertyParserHelpers::ConsumeCommaSeparatedList( |
| 21 CSSPropertyAnimationNameUtils::ConsumeAnimationName, range, &context, |
| 22 local_context.GetUseAliasParsing()); |
| 23 } |
| 24 |
| 25 } // namespace blink |
OLD | NEW |