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

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

Issue 2623453002: CSS scale property: scale with one value only affects X (Closed)
Patch Set: rebase Created 3 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/CSSScaleInterpolationType.cpp
diff --git a/third_party/WebKit/Source/core/animation/CSSScaleInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSScaleInterpolationType.cpp
index 6d678b071e4c208a07d0a36a939ee42d85541f61..ca4ee41f2bad7c5813b96f215a6f01f055c485f3 100644
--- a/third_party/WebKit/Source/core/animation/CSSScaleInterpolationType.cpp
+++ b/third_party/WebKit/Source/core/animation/CSSScaleInterpolationType.cpp
@@ -162,9 +162,6 @@ InterpolationValue CSSScaleInterpolationType::maybeConvertValue(
scale.array[i] = toCSSPrimitiveValue(item).getDoubleValue();
}
- if (list.length() == 1)
- scale.array[1] = scale.array[0];
-
return scale.createInterpolationValue();
}

Powered by Google App Engine
This is Rietveld 408576698