Index: Source/core/animation/StringKeyframe.cpp |
diff --git a/Source/core/animation/StringKeyframe.cpp b/Source/core/animation/StringKeyframe.cpp |
index d6cee7153764a3142e72e852c806202ea154a410..0c07ab2719d43f8b36a1ad16d39c4fe10a5d270f 100644 |
--- a/Source/core/animation/StringKeyframe.cpp |
+++ b/Source/core/animation/StringKeyframe.cpp |
@@ -216,10 +216,6 @@ PassRefPtrWillBeRawPtr<Interpolation> StringKeyframe::PropertySpecificKeyframe:: |
fallBackToLegacy = true; |
break; |
- case CSSPropertyFontSizeAdjust: |
- // FIXME: Requires special handing for 0. |
- fallBackToLegacy = true; |
- break; |
case CSSPropertyOrphans: |
case CSSPropertyWidows: |
case CSSPropertyZIndex: |
@@ -227,12 +223,17 @@ PassRefPtrWillBeRawPtr<Interpolation> StringKeyframe::PropertySpecificKeyframe:: |
case CSSPropertyShapeImageThreshold: |
case CSSPropertyFillOpacity: |
case CSSPropertyFloodOpacity: |
+ case CSSPropertyFontSizeAdjust: |
case CSSPropertyOpacity: |
case CSSPropertyStopOpacity: |
case CSSPropertyStrokeOpacity: |
case CSSPropertyStrokeMiterlimit: |
if (DoubleStyleInterpolation::canCreateFrom(*fromCSSValue) && DoubleStyleInterpolation::canCreateFrom(*toCSSValue)) |
return DoubleStyleInterpolation::create(*fromCSSValue, *toCSSValue, property, toCSSPrimitiveValue(fromCSSValue)->primitiveType(), setRange(property)); |
+ |
+ // FIXME: Handle keywords e.g. 'none'. |
dstockwell
2015/03/20 03:24:29
This shouldn't be necessary now. Does anything bre
changseok
2015/03/20 08:29:39
Nothing. Removed.
|
+ if (property == CSSPropertyFontSizeAdjust) |
+ fallBackToLegacy = true; |
break; |
case CSSPropertyMotionRotation: { |