| Index: third_party/WebKit/Source/core/css/properties/CSSPropertyAPITransitionProperty.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/properties/CSSPropertyAPITransitionProperty.cpp b/third_party/WebKit/Source/core/css/properties/CSSPropertyAPITransitionProperty.cpp
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..30f97980c311709c3552e63ee7d7ec44e5739173
|
| --- /dev/null
|
| +++ b/third_party/WebKit/Source/core/css/properties/CSSPropertyAPITransitionProperty.cpp
|
| @@ -0,0 +1,24 @@
|
| +// 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/CSSPropertyAPITransitionProperty.h"
|
| +
|
| +#include "core/css/CSSValueList.h"
|
| +#include "core/css/parser/CSSPropertyParserHelpers.h"
|
| +#include "core/css/properties/CSSPropertyTransitionPropertyUtils.h"
|
| +
|
| +namespace blink {
|
| +
|
| +const CSSValue* CSSPropertyAPITransitionProperty::parseSingleValue(
|
| + CSSParserTokenRange& range,
|
| + const CSSParserContext&,
|
| + const CSSParserLocalContext&) {
|
| + CSSValueList* list = CSSPropertyParserHelpers::ConsumeCommaSeparatedList(
|
| + CSSPropertyTransitionPropertyUtils::ConsumeTransitionProperty, range);
|
| + if (!list || !CSSPropertyTransitionPropertyUtils::IsValidPropertyList(*list))
|
| + return nullptr;
|
| + return list;
|
| +}
|
| +
|
| +} // namespace blink
|
|
|