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

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

Issue 2701533005: Support animating <percentage> and <length-percentage> custom properties (Closed)
Patch Set: update expectations Created 3 years, 10 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 57cd28bad1dd5a99b47189030b03c7fa2159a135..06b707d8353fb22edf79a9fa10b5c40d75d7db2d 100644
--- a/third_party/WebKit/Source/core/animation/CSSInterpolationTypesMap.cpp
+++ b/third_party/WebKit/Source/core/animation/CSSInterpolationTypesMap.cpp
@@ -343,13 +343,13 @@ CSSInterpolationTypesMap::createCSSInterpolationTypesForSyntax(
result.push_back(WTF::makeUnique<CSSColorInterpolationType>(property));
break;
case CSSSyntaxType::Length:
+ case CSSSyntaxType::LengthPercentage:
+ case CSSSyntaxType::Percentage:
result.push_back(WTF::makeUnique<CSSLengthInterpolationType>(property));
break;
case CSSSyntaxType::Number:
result.push_back(WTF::makeUnique<CSSNumberInterpolationType>(property));
break;
- case CSSSyntaxType::Percentage:
- case CSSSyntaxType::LengthPercentage:
case CSSSyntaxType::Image:
case CSSSyntaxType::Url:
case CSSSyntaxType::Integer:

Powered by Google App Engine
This is Rietveld 408576698