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

Side by Side Diff: third_party/WebKit/LayoutTests/animations/composition/scale-composition.html

Issue 2650163002: Animations: Smooth interpolation for scale none (Closed)
Patch Set: reviewFeedback 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 unified diff | Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/animations/interpolation/scale-interpolation.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <body> 2 <body>
3 <script src="../interpolation/resources/interpolation-test.js"></script> 3 <script src="../interpolation/resources/interpolation-test.js"></script>
4 <script> 4 <script>
5 assertComposition({ 5 assertComposition({
6 property: 'scale', 6 property: 'scale',
7 underlying: '2', 7 underlying: '2',
8 addFrom: '3', 8 addFrom: '3',
9 addTo: '4', 9 addTo: '4',
10 }, [ 10 }, [
(...skipping 13 matching lines...) Expand all
24 replaceTo: '7 8 9', 24 replaceTo: '7 8 9',
25 }, [ 25 }, [
26 {at: -0.5, is: '2.5 11 22.5'}, 26 {at: -0.5, is: '2.5 11 22.5'},
27 {at: 0, is: '4 10 18'}, 27 {at: 0, is: '4 10 18'},
28 {at: 0.25, is: '4.75 9.5 15.75'}, 28 {at: 0.25, is: '4.75 9.5 15.75'},
29 {at: 0.5, is: '5.5 9 13.5'}, 29 {at: 0.5, is: '5.5 9 13.5'},
30 {at: 0.75, is: '6.25 8.5 11.25'}, 30 {at: 0.75, is: '6.25 8.5 11.25'},
31 {at: 1, is: '7 8 9'}, 31 {at: 1, is: '7 8 9'},
32 {at: 1.5, is: '8.5 7 4.5'}, 32 {at: 1.5, is: '8.5 7 4.5'},
33 ]); 33 ]);
34
35 assertComposition({
36 property: 'scale',
37 underlying: 'none',
38 addFrom: 'none',
39 replaceTo: '1.5',
40 }, [
41 {at: -1, is: '0.5'},
42 {at: 0, is: '1'},
43 {at: 0.25, is: '1.125'},
44 {at: 0.75, is: '1.375'},
45 {at: 1, is: '1.5'},
46 {at: 2, is: '2'},
47 ]);
48
49 assertComposition({
50 property: 'scale',
51 underlying: 'none',
52 addFrom: '4 5 6',
53 replaceTo: 'none',
54 }, [
55 {at: -1, is: '7 9 11'},
56 {at: 0, is: '4 5 6'},
57 {at: 0.25, is: '3.25 4 4.75'},
58 {at: 0.75, is: '1.75 2 2.25'},
59 {at: 1, is: 'none'},
60 {at: 2, is: '-2 -3 -4'},
61 ]);
62
63 assertComposition({
64 property: 'scale',
65 underlying: '1 2 3',
66 addFrom: 'none',
67 replaceTo: '7 8 9',
68 }, [
69 {at: -0.5, is: '-2 -1 0'},
70 {at: 0, is: '1 2 3'},
71 {at: 0.25, is: '2.5 3.5 4.5'},
72 {at: 0.5, is: '4 5 6'},
73 {at: 0.75, is: '5.5 6.5 7.5'},
74 {at: 1, is: '7 8 9'},
75 {at: 1.5, is: '10 11 12'},
76 ]);
77
78 assertComposition({
79 property: 'scale',
80 underlying: '1 2 3',
81 addFrom: '4 5 6',
82 replaceTo: 'none',
83 }, [
84 {at: -0.5, is: '5.5 14.5 26.5'},
85 {at: 0, is: '4 10 18'},
86 {at: 0.25, is: '3.25 7.75 13.75'},
87 {at: 0.5, is: '2.5 5.5 9.5'},
88 {at: 0.75, is: '1.75 3.25 5.25'},
89 {at: 1, is: 'none'},
90 {at: 1.5, is: '-0.5 -3.5 -7.5'},
91 ]);
34 </script> 92 </script>
35 </body> 93 </body>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/animations/interpolation/scale-interpolation.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698