Index: Source/core/animation/StringKeyframe.cpp |
diff --git a/Source/core/animation/StringKeyframe.cpp b/Source/core/animation/StringKeyframe.cpp |
index a0632afafe35d47f6bdbb84f50e8d7d357d71370..71472bd4f67edbcf152fa42311d33ac4599e816d 100644 |
--- a/Source/core/animation/StringKeyframe.cpp |
+++ b/Source/core/animation/StringKeyframe.cpp |
@@ -287,12 +287,17 @@ PassRefPtrWillBeRawPtr<Interpolation> StringKeyframe::PropertySpecificKeyframe:: |
fallBackToLegacy = true; |
break; |
+ |
} |
- case CSSPropertyWebkitMaskBoxImageSlice: |
- if (LengthBoxStyleInterpolation::matchingFill(*toCSSValue, *fromCSSValue) && LengthBoxStyleInterpolation::canCreateFrom(*fromCSSValue) && LengthStyleInterpolation::canCreateFrom(*toCSSValue)) |
- return LengthBoxStyleInterpolation::createFromBorderImageSlice(*fromCSSValue, *toCSSValue, property); |
+ case CSSPropertyClip: |
+ case CSSPropertyBorderImageSlice: |
+ case CSSPropertyWebkitMaskBoxImageSlice: { |
+ RefPtrWillBeRawPtr<Interpolation> interpolation = LengthBoxStyleInterpolation::maybeCreateFrom(fromCSSValue, toCSSValue, property); |
+ if (interpolation) |
+ return interpolation.release(); |
break; |
+ } |
case CSSPropertyStrokeWidth: |
range = RangeNonNegative; |