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

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

Issue 1024473004: Do not treat '0' as 'none' for font-size-adjust (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased 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 3aab4e8965ca19454b9306bacc00adbe41276561..a9defea090fc3321c93218ebd07d8c421e0f8fd2 100644
--- a/Source/core/animation/StringKeyframe.cpp
+++ b/Source/core/animation/StringKeyframe.cpp
@@ -221,10 +221,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:
@@ -232,6 +228,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