| Index: Source/core/animation/StringKeyframe.cpp
|
| diff --git a/Source/core/animation/StringKeyframe.cpp b/Source/core/animation/StringKeyframe.cpp
|
| index 76e4fcf7843944e1b8c7d0418a1923e5d4df1720..671f24d67576c18d8f350bc222788e1cee02345e 100644
|
| --- a/Source/core/animation/StringKeyframe.cpp
|
| +++ b/Source/core/animation/StringKeyframe.cpp
|
| @@ -402,6 +402,24 @@ PassRefPtrWillBeRawPtr<Interpolation> StringKeyframe::CSSPropertySpecificKeyfram
|
| break;
|
| }
|
|
|
| + case CSSPropertyTranslate: {
|
| + RefPtrWillBeRawPtr<Interpolation> interpolation = ListStyleInterpolation<LengthStyleInterpolation>::maybeCreateFromList(*fromCSSValue, *toCSSValue, property, range);
|
| + if (interpolation)
|
| + return interpolation.release();
|
| +
|
| + fallBackToLegacy = true;
|
| + break;
|
| + }
|
| +
|
| + case CSSPropertyScale: {
|
| + RefPtrWillBeRawPtr<Interpolation> interpolation = ListStyleInterpolation<DoubleStyleInterpolation>::maybeCreateFromList(*fromCSSValue, *toCSSValue, property, range);
|
| + if (interpolation)
|
| + return interpolation.release();
|
| +
|
| + fallBackToLegacy = true;
|
| + break;
|
| + }
|
| +
|
| default:
|
| // Fall back to LegacyStyleInterpolation.
|
| fallBackToLegacy = true;
|
|
|