| Index: Source/core/animation/StringKeyframe.cpp
|
| diff --git a/Source/core/animation/StringKeyframe.cpp b/Source/core/animation/StringKeyframe.cpp
|
| index af290efafa07fa69fd8606f90282b059872ce83b..90d7ea6e6fefa9e6aff351dce168119bef9b5fe5 100644
|
| --- a/Source/core/animation/StringKeyframe.cpp
|
| +++ b/Source/core/animation/StringKeyframe.cpp
|
| @@ -10,6 +10,7 @@
|
| #include "core/animation/ConstantStyleInterpolation.h"
|
| #include "core/animation/DeferredLegacyStyleInterpolation.h"
|
| #include "core/animation/DoubleStyleInterpolation.h"
|
| +#include "core/animation/ImageSliceStyleInterpolation.h"
|
| #include "core/animation/ImageStyleInterpolation.h"
|
| #include "core/animation/LegacyStyleInterpolation.h"
|
| #include "core/animation/LengthBoxStyleInterpolation.h"
|
| @@ -310,9 +311,7 @@ PassRefPtrWillBeRawPtr<Interpolation> StringKeyframe::PropertySpecificKeyframe::
|
|
|
| }
|
|
|
| - case CSSPropertyClip:
|
| - case CSSPropertyBorderImageSlice:
|
| - case CSSPropertyWebkitMaskBoxImageSlice: {
|
| + case CSSPropertyClip: {
|
| if (LengthBoxStyleInterpolation::usesDefaultInterpolation(*fromCSSValue, *toCSSValue)) {
|
| forceDefaultInterpolation = true;
|
| break;
|
| @@ -323,6 +322,17 @@ PassRefPtrWillBeRawPtr<Interpolation> StringKeyframe::PropertySpecificKeyframe::
|
| break;
|
| }
|
|
|
| + case CSSPropertyBorderImageSlice:
|
| + case CSSPropertyWebkitMaskBoxImageSlice: {
|
| + RefPtrWillBeRawPtr<Interpolation> interpolation = ImageSliceStyleInterpolation::maybeCreate(*fromCSSValue, *toCSSValue, property);
|
| + if (interpolation)
|
| + return interpolation.release();
|
| + if (ImageSliceStyleInterpolation::usesDefaultInterpolation(*fromCSSValue, *toCSSValue))
|
| + forceDefaultInterpolation = true;
|
| +
|
| + break;
|
| + }
|
| +
|
| case CSSPropertyStrokeDasharray: {
|
| RefPtrWillBeRawPtr<Interpolation> interpolation = SVGStrokeDasharrayStyleInterpolation::maybeCreate(*fromCSSValue, *toCSSValue, property);
|
| if (interpolation)
|
|
|