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

Unified Diff: third_party/WebKit/Source/core/animation/animatable/AnimatableValue.h

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/animatable/AnimatableValue.h
diff --git a/third_party/WebKit/Source/core/animation/animatable/AnimatableValue.h b/third_party/WebKit/Source/core/animation/animatable/AnimatableValue.h
index 1ea807fa78b0762c3d92be4b4d0c094171936aca..3dcfc9bec984a50ac09965ee5343cb7b33116c1e 100644
--- a/third_party/WebKit/Source/core/animation/animatable/AnimatableValue.h
+++ b/third_party/WebKit/Source/core/animation/animatable/AnimatableValue.h
@@ -62,6 +62,9 @@ class CORE_EXPORT AnimatableValue : public RefCounted<AnimatableValue> {
bool IsDouble() const { return GetType() == kTypeDouble; }
bool IsDoubleAndBool() const { return GetType() == kTypeDoubleAndBool; }
bool IsFilterOperations() const { return GetType() == kTypeFilterOperations; }
+ bool IsFontVariationSettings() const {
+ return GetType() == kTypeFontVariationSettings;
+ }
bool IsImage() const { return GetType() == kTypeImage; }
bool IsLength() const { return GetType() == kTypeLength; }
bool IsLengthBox() const { return GetType() == kTypeLengthBox; }
@@ -94,6 +97,7 @@ class CORE_EXPORT AnimatableValue : public RefCounted<AnimatableValue> {
kTypeDouble,
kTypeDoubleAndBool,
kTypeFilterOperations,
+ kTypeFontVariationSettings,
kTypeImage,
kTypeLength,
kTypeLengthBox,

Powered by Google App Engine
This is Rietveld 408576698