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

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

Issue 1640643002: Add additive animation support for CSS property clip (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@_propertyInterpolationTypesMapping
Patch Set: Moar tests Created 4 years, 11 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/PropertyInterpolationTypesMapping.cpp
diff --git a/third_party/WebKit/Source/core/animation/PropertyInterpolationTypesMapping.cpp b/third_party/WebKit/Source/core/animation/PropertyInterpolationTypesMapping.cpp
index 691ae0b6bd89bd7e1d43aee6323e3983026ed3b7..fc30e88f6e4e6d9922b69ef0c80cf3f99ac43fb5 100644
--- a/third_party/WebKit/Source/core/animation/PropertyInterpolationTypesMapping.cpp
+++ b/third_party/WebKit/Source/core/animation/PropertyInterpolationTypesMapping.cpp
@@ -6,6 +6,7 @@
#include "core/HTMLNames.h"
#include "core/XLinkNames.h"
+#include "core/animation/CSSClipInterpolationType.h"
#include "core/animation/CSSColorInterpolationType.h"
#include "core/animation/CSSFontWeightInterpolationType.h"
#include "core/animation/CSSImageInterpolationType.h"
@@ -167,6 +168,9 @@ const InterpolationTypes* PropertyInterpolationTypesMapping::get(const PropertyH
case CSSPropertyVisibility:
applicableTypes->append(adoptPtr(new CSSVisibilityInterpolationType(cssProperty)));
break;
+ case CSSPropertyClip:
+ applicableTypes->append(adoptPtr(new CSSClipInterpolationType(cssProperty)));
+ break;
default:
// TODO(alancutter): Support all interpolable CSS properties here so we can stop falling back to the old StyleInterpolation implementation.
if (CSSPropertyMetadata::isInterpolableProperty(cssProperty))

Powered by Google App Engine
This is Rietveld 408576698