Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(369)

Unified Diff: Source/core/animation/StringKeyframe.cpp

Issue 983073002: Make font-size-adjust animatable. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Do not allow font-size-adjust to animate for none or 0 Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/animation/StringKeyframe.cpp
diff --git a/Source/core/animation/StringKeyframe.cpp b/Source/core/animation/StringKeyframe.cpp
index 76fd53d304a7adf774c51e4191f26e981bc177b1..7a220f66971059edeae931cdb38bb48702ac9d09 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;
@@ -213,6 +215,7 @@ PassRefPtrWillBeRawPtr<Interpolation> StringKeyframe::PropertySpecificKeyframe::
case CSSPropertyShapeImageThreshold:
case CSSPropertyFillOpacity:
case CSSPropertyFloodOpacity:
+ case CSSPropertyFontSizeAdjust:
case CSSPropertyOpacity:
case CSSPropertyStopOpacity:
case CSSPropertyStrokeOpacity:

Powered by Google App Engine
This is Rietveld 408576698