| Index: Source/core/animation/StringKeyframe.cpp
|
| diff --git a/Source/core/animation/StringKeyframe.cpp b/Source/core/animation/StringKeyframe.cpp
|
| index 15db7802f978d2ff5e0b7fb1e8375d82413463ab..caab7041f81d6413938af131b741a58851032afb 100644
|
| --- a/Source/core/animation/StringKeyframe.cpp
|
| +++ b/Source/core/animation/StringKeyframe.cpp
|
| @@ -427,6 +427,26 @@ PassRefPtrWillBeRawPtr<Interpolation> StringKeyframe::CSSPropertySpecificKeyfram
|
| break;
|
| }
|
|
|
| + case CSSPropertyTranslate: {
|
| + RefPtrWillBeRawPtr<Interpolation> interpolation = ListStyleInterpolation<LengthStyleInterpolation>::maybeCreateFromList(*fromCSSValue, *toCSSValue, property, range);
|
| + if (interpolation)
|
| + return interpolation.release();
|
| +
|
| + // TODO(soonm): Legacy mode is used when from and to cssvaluelist length does not match.
|
| + fallBackToLegacy = true;
|
| + break;
|
| + }
|
| +
|
| + case CSSPropertyScale: {
|
| + RefPtrWillBeRawPtr<Interpolation> interpolation = ListStyleInterpolation<DoubleStyleInterpolation>::maybeCreateFromList(*fromCSSValue, *toCSSValue, property, range);
|
| + if (interpolation)
|
| + return interpolation.release();
|
| +
|
| + // TODO(soonm): Legacy mode is used when from and to cssvaluelist length does not match.
|
| + fallBackToLegacy = true;
|
| + break;
|
| + }
|
| +
|
| default:
|
| // Fall back to LegacyStyleInterpolation.
|
| fallBackToLegacy = true;
|
|
|