Index: Source/core/animation/StringKeyframe.cpp |
diff --git a/Source/core/animation/StringKeyframe.cpp b/Source/core/animation/StringKeyframe.cpp |
index 113b9819d0506588f1e332c38a5d31576013572e..6dc34a7800c566ff1d417b2ecac74990ae38c648 100644 |
--- a/Source/core/animation/StringKeyframe.cpp |
+++ b/Source/core/animation/StringKeyframe.cpp |
@@ -194,12 +194,9 @@ PassRefPtrWillBeRawPtr<Interpolation> StringKeyframe::PropertySpecificKeyframe:: |
case CSSPropertyVerticalAlign: |
case CSSPropertyWordSpacing: |
case CSSPropertyWebkitColumnRuleWidth: |
- if (LengthStyleInterpolation::canCreateFrom(*fromCSSValue) && LengthStyleInterpolation::canCreateFrom(*toCSSValue)) |
+ if (LengthStyleInterpolation::canCreateFrom(*fromCSSValue, property) && LengthStyleInterpolation::canCreateFrom(*toCSSValue, property)) |
return LengthStyleInterpolation::create(*fromCSSValue, *toCSSValue, property, range); |
- // FIXME: Handle keywords e.g. 'none'. |
- if (property == CSSPropertyPerspective) |
- fallBackToLegacy = true; |
// FIXME: Handle keywords e.g. 'smaller', 'larger'. |
if (property == CSSPropertyFontSize) |
fallBackToLegacy = true; |
@@ -208,13 +205,6 @@ PassRefPtrWillBeRawPtr<Interpolation> StringKeyframe::PropertySpecificKeyframe:: |
if (property == CSSPropertyBaselineShift) |
fallBackToLegacy = true; |
- // FIXME: Handle keywords e.g. 'normal' |
- if (property == CSSPropertyLetterSpacing) |
- fallBackToLegacy = true; |
- |
- // FIXME: Handle keywords e.g. 'thick' |
- if (property == CSSPropertyOutlineWidth || property == CSSPropertyWebkitColumnRuleWidth) |
- fallBackToLegacy = true; |
break; |
case CSSPropertyOrphans: |
case CSSPropertyWidows: |