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

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: Rebase expectations for bug2886-2.html 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 3aa81904ea03a9d174a6b4a3d17f8f4bfb0783b1..d6cee7153764a3142e72e852c806202ea154a410 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,10 @@ PassRefPtrWillBeRawPtr<Interpolation> StringKeyframe::PropertySpecificKeyframe::
fallBackToLegacy = true;
break;
+ case CSSPropertyFontSizeAdjust:
+ // FIXME: Requires special handing for 0.
+ fallBackToLegacy = true;
+ break;
case CSSPropertyOrphans:
case CSSPropertyWidows:
case CSSPropertyZIndex:

Powered by Google App Engine
This is Rietveld 408576698