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

Unified Diff: third_party/WebKit/LayoutTests/animations/interpolation/scale-interpolation.html

Issue 2650163002: Animations: Smooth interpolation for scale none (Closed)
Patch Set: reviewFeedback 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/LayoutTests/animations/interpolation/scale-interpolation.html
diff --git a/third_party/WebKit/LayoutTests/animations/interpolation/scale-interpolation.html b/third_party/WebKit/LayoutTests/animations/interpolation/scale-interpolation.html
index 91b3f7b95458a5e020e3e09c29bde46fcea46d58..e1807b2847c51062a1814f86d3d3e1bfdb7dd3ba 100644
--- a/third_party/WebKit/LayoutTests/animations/interpolation/scale-interpolation.html
+++ b/third_party/WebKit/LayoutTests/animations/interpolation/scale-interpolation.html
@@ -23,6 +23,19 @@
<script>
assertInterpolation({
property: 'scale',
+ from: 'none',
+ to: '1.5',
+}, [
+ {at: -1, is: '0.5'},
+ {at: 0, is: 'none'},
+ {at: 0.25, is: '1.125'},
+ {at: 0.75, is: '1.375'},
+ {at: 1, is: '1.5'},
+ {at: 2, is: '2'},
+]);
+
+assertInterpolation({
+ property: 'scale',
from: neutralKeyframe,
to: '1.5',
}, [
@@ -40,7 +53,7 @@ assertInterpolation({
to: '1.5',
}, [
{at: -1, is: '0.5'},
- {at: 0, is: '1'},
+ {at: 0, is: 'none'},
{at: 0.25, is: '1.125'},
{at: 0.75, is: '1.375'},
{at: 1, is: '1.5'},
@@ -144,7 +157,7 @@ assertInterpolation({
to: '2 0.5 1',
}, [
{at: -1, is: '0 1.5'},
- {at: 0, is: '1'},
+ {at: 0, is: 'none'},
{at: 0.25, is: '1.25 0.875'},
{at: 0.75, is: '1.75 0.625'},
{at: 1, is: '2 0.5'},
@@ -160,7 +173,7 @@ assertInterpolation({
{at: 0, is: '2 0.5 1'},
{at: 0.25, is: '1.75 0.6251'},
{at: 0.75, is: '1.25 0.875'},
- {at: 1, is: '1 1 1'},
+ {at: 1, is: 'none'},
{at: 2, is: '0 1.5'},
]);
@@ -170,7 +183,7 @@ assertInterpolation({
to: 'inherit',
}, [
{at: -1, is: '1.5 1 0'},
- {at: 0, is: '1'},
+ {at: 0, is: 'none'},
{at: 0.25, is: '0.875 1 1.25'},
{at: 0.75, is: '0.625 1 1.75'},
{at: 1, is: '0.5 1 2'},
@@ -186,7 +199,7 @@ assertInterpolation({
{at: 0, is: '0.5 1 2'},
{at: 0.25, is: '0.625 1 1.75'},
{at: 0.75, is: '0.875 1 1.25'},
- {at: 1, is: '1 1 1'},
+ {at: 1, is: 'none'},
{at: 2, is: '1.5 1 0'},
]);
</script>

Powered by Google App Engine
This is Rietveld 408576698