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..b28c1f8672792925b0893bd35c0af2f6fcaed03e 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: |
| + case CSSPropertyPerspectiveOrigin: |
|
Eric Willigers
2014/12/19 05:05:52
PerspectiveOrigin can be negative:
MDN - https://d
evemj (not active)
2014/12/20 05:57:45
Done.
|
| + range = ValueRangeNonNegative; |
| + // Fall through |
| + case CSSPropertyObjectPosition: |
| + if (LengthPairStyleInterpolation::canCreateFrom(*fromCSSValue) && LengthPairStyleInterpolation::canCreateFrom(*toCSSValue)) |
| + return LengthPairStyleInterpolation::create(*fromCSSValue, *toCSSValue, property, range); |
| + break; |
| default: |
| break; |
| } |