Index: Source/core/animation/StringKeyframe.cpp |
diff --git a/Source/core/animation/StringKeyframe.cpp b/Source/core/animation/StringKeyframe.cpp |
index 82810b8d47303bddf8481ecfb0c0bdd34a809b53..beb1aeeb533e7ddb8f4fc4682da754bed7a240a2 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; |