Chromium Code Reviews| Index: Source/core/animation/StringKeyframe.cpp |
| diff --git a/Source/core/animation/StringKeyframe.cpp b/Source/core/animation/StringKeyframe.cpp |
| index 3aa81904ea03a9d174a6b4a3d17f8f4bfb0783b1..3e552e87baaed80b6f29c4fdc6c1d474af46a40b 100644 |
| --- a/Source/core/animation/StringKeyframe.cpp |
| +++ b/Source/core/animation/StringKeyframe.cpp |
| @@ -111,6 +111,8 @@ InterpolationRange setRange(CSSPropertyID id) |
| return RangeOpacityFIXME; |
| case CSSPropertyStrokeMiterlimit: |
| return RangeGreaterThanOrEqualToOne; |
| + case CSSPropertyFontSizeAdjust: |
| + return RangeNonNegative; |
| default: |
| ASSERT_NOT_REACHED(); |
| return RangeAll; |
| @@ -214,6 +216,13 @@ PassRefPtrWillBeRawPtr<Interpolation> StringKeyframe::PropertySpecificKeyframe:: |
| fallBackToLegacy = true; |
| break; |
| + case CSSPropertyFontSizeAdjust: |
| + if (AnimatableValue::usesDefaultInterpolation( |
|
dstockwell
2015/03/17 23:36:46
Hmm, instead of adding these checks here, we can j
changseok
2015/03/18 09:05:02
Done.
|
| + StyleResolver::createAnimatableValueSnapshot(*element, baseStyle, property, fromCSSValue).get(), |
| + StyleResolver::createAnimatableValueSnapshot(*element, baseStyle, property, toCSSValue).get())) { |
| + forceDefaultInterpolation = true; |
| + break; |
| + } |
| case CSSPropertyOrphans: |
| case CSSPropertyWidows: |
| case CSSPropertyZIndex: |