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

Unified Diff: third_party/WebKit/Source/core/animation/CSSInterpolationTypesMap.cpp

Issue 2891743003: Enable interpolation of CSS property font-variation-settings (Closed)
Patch Set: updatetest Created 3 years, 7 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: third_party/WebKit/Source/core/animation/CSSInterpolationTypesMap.cpp
diff --git a/third_party/WebKit/Source/core/animation/CSSInterpolationTypesMap.cpp b/third_party/WebKit/Source/core/animation/CSSInterpolationTypesMap.cpp
index 2a76e6408198b3ac5e81b58c5783d1178017fd6a..52329c1cbf658c3cff3dc9d31cfd4753f496fadf 100644
--- a/third_party/WebKit/Source/core/animation/CSSInterpolationTypesMap.cpp
+++ b/third_party/WebKit/Source/core/animation/CSSInterpolationTypesMap.cpp
@@ -12,6 +12,7 @@
#include "core/animation/CSSColorInterpolationType.h"
#include "core/animation/CSSFilterListInterpolationType.h"
#include "core/animation/CSSFontSizeInterpolationType.h"
+#include "core/animation/CSSFontVariationSettingsInterpolationType.h"
#include "core/animation/CSSFontWeightInterpolationType.h"
#include "core/animation/CSSImageInterpolationType.h"
#include "core/animation/CSSImageListInterpolationType.h"
@@ -217,6 +218,11 @@ const InterpolationTypes& CSSInterpolationTypesMap::Get(
applicable_types->push_back(
WTF::MakeUnique<CSSFontWeightInterpolationType>(used_property));
break;
+ case CSSPropertyFontVariationSettings:
+ applicable_types->push_back(
+ WTF::MakeUnique<CSSFontVariationSettingsInterpolationType>(
+ used_property));
+ break;
case CSSPropertyVisibility:
applicable_types->push_back(
WTF::MakeUnique<CSSVisibilityInterpolationType>(used_property));

Powered by Google App Engine
This is Rietveld 408576698