Chromium Code Reviews| Index: Source/core/animation/StringKeyframe.cpp |
| diff --git a/Source/core/animation/StringKeyframe.cpp b/Source/core/animation/StringKeyframe.cpp |
| index 9bf01dceb20993e21f45196a6c2e5184a43261bb..28dc674f59e023dd1acb1244f866aa19074d30f1 100644 |
| --- a/Source/core/animation/StringKeyframe.cpp |
| +++ b/Source/core/animation/StringKeyframe.cpp |
| @@ -137,6 +137,17 @@ PassRefPtrWillBeRawPtr<Interpolation> StringKeyframe::PropertySpecificKeyframe:: |
| case CSSPropertyWebkitTextStrokeColor: |
| if (ColorStyleInterpolation::canCreateFrom(*fromCSSValue) && ColorStyleInterpolation::canCreateFrom(*toCSSValue)) |
| return ColorStyleInterpolation::create(*fromCSSValue, *toCSSValue, property); |
| + case CSSPropertyBorderBottomLeftRadius: |
| + case CSSPropertyBorderBottomRightRadius: |
| + case CSSPropertyBorderTopLeftRadius: |
| + case CSSPropertyBorderTopRightRadius: |
| + range = ValueRangeNonNegative; |
| + // Fall through |
| + case CSSPropertyPerspectiveOrigin: |
| + case CSSPropertyObjectPosition: |
| + if (LengthPairStyleInterpolation::canCreateFrom(*fromCSSValue) && LengthPairStyleInterpolation::canCreateFrom(*toCSSValue)) |
| + return LengthPairStyleInterpolation::create(*fromCSSValue, *toCSSValue, property, range); |
| + break; |
|
samli
2014/12/22 03:38:04
Split this into a separate patch
|
| default: |
| break; |
| } |