| Index: third_party/WebKit/Source/core/animation/CSSInterpolationType.cpp
|
| diff --git a/third_party/WebKit/Source/core/animation/CSSInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSInterpolationType.cpp
|
| index a5041dc5689fd0e317797a549d9abda154c88993..25fd06b50aaf19d75e124777f28b47a2de7a6152 100644
|
| --- a/third_party/WebKit/Source/core/animation/CSSInterpolationType.cpp
|
| +++ b/third_party/WebKit/Source/core/animation/CSSInterpolationType.cpp
|
| @@ -49,6 +49,10 @@ InterpolationValue CSSInterpolationType::maybeConvertSingle(const PropertySpecif
|
| if (!value)
|
| return maybeConvertNeutral(underlying, conversionCheckers);
|
|
|
| + // TODO(alancutter): Support animation of var() in shorthand properties.
|
| + if (value->isPendingSubstitutionValue())
|
| + return nullptr;
|
| +
|
| if (value->isVariableReferenceValue() && !isShorthandProperty(cssProperty())) {
|
| resolvedCSSValueOwner = CSSVariableResolver::resolveVariableReferences(environment.state().style()->variables(), cssProperty(), toCSSVariableReferenceValue(*value));
|
| conversionCheckers.append(ResolvedVariableChecker::create(cssProperty(), toCSSVariableReferenceValue(value), resolvedCSSValueOwner));
|
|
|