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/CSSPropertyParserHelpers.h" |
| 8 #include "core/css/properties/CSSPropertyAnimationNameUtils.h" |
| 9 |
| 10 class CSSParserContext; |
| 11 |
| 12 namespace blink { |
| 13 |
| 14 const CSSValue* CSSPropertyAPIAnimationName::parseSingleValue( |
| 15 CSSParserTokenRange& range, |
| 16 const CSSParserContext& context, |
| 17 CSSPropertyID unresolved_property) { |
| 18 return CSSPropertyParserHelpers::ConsumeCommaSeparatedList( |
| 19 CSSPropertyAnimationNameUtils::ConsumeAnimationName, range, &context, |
| 20 unresolved_property == CSSPropertyAliasWebkitAnimationName); |
| 21 } |
| 22 |
| 23 } // namespace blink |
OLD | NEW |