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

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

Issue 2691863002: Animations: Smooth interpolation for rotate none (Closed)
Patch Set: review feedback 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/rotate-interpolation-expected.txt » ('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 <meta charset="UTF-8"> 2 <meta charset="UTF-8">
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: 'rotate', 6 property: 'rotate',
7 underlying: '100deg', 7 underlying: '100deg',
8 addFrom: '10deg', 8 addFrom: '10deg',
9 addTo: '30deg', 9 addTo: '30deg',
10 }, [ 10 }, [
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 {at: 2, is: '-6.12323e-17 -1 -4.71028e-16 90deg'}, 100 {at: 2, is: '-6.12323e-17 -1 -4.71028e-16 90deg'},
101 ]); 101 ]);
102 102
103 assertComposition({ 103 assertComposition({
104 property: 'rotate', 104 property: 'rotate',
105 underlying: 'none', 105 underlying: 'none',
106 addFrom: 'none', 106 addFrom: 'none',
107 replaceTo: '0 1 0 100deg', 107 replaceTo: '0 1 0 100deg',
108 }, [ 108 }, [
109 {at: -1, is: '0 1 0 -100deg'}, 109 {at: -1, is: '0 1 0 -100deg'},
110 {at: 0, is: '0deg'}, 110 {at: 0, is: 'none'},
111 {at: 0.25, is: '-1.20172e-16 1 -3.60516e-16 25deg'}, 111 {at: 0.25, is: '-1.20172e-16 1 -3.60516e-16 25deg'},
112 {at: 0.75, is: '-1.51909e-17 1 -4.55726e-17 75deg'}, 112 {at: 0.75, is: '-1.51909e-17 1 -4.55726e-17 75deg'},
113 {at: 1, is: '0 1 0 100deg'}, 113 {at: 1, is: '0 1 0 100deg'},
114 {at: 2, is: '0 1 0 200deg'}, 114 {at: 2, is: '0 1 0 200deg'},
115 ]); 115 ]);
116 116
117 assertComposition({ 117 assertComposition({
118 property: 'rotate', 118 property: 'rotate',
119 underlying: 'none', 119 underlying: 'none',
120 addFrom: '2 4 6 270deg', 120 addFrom: '2 4 6 270deg',
121 replaceTo: 'none', 121 replaceTo: 'none',
122 }, [ 122 }, [
123 {at: -1, is: '2 4 6 540deg'}, 123 {at: -1, is: '2 4 6 540deg'},
124 {at: 0, is: '2 4 6 270deg'}, 124 {at: 0, is: '2 4 6 270deg'},
125 {at: 0.25, is: '2 4 6 202.5deg'}, 125 {at: 0.25, is: '2 4 6 202.5deg'},
126 {at: 0.75, is: '2 4 6 67.5deg'}, 126 {at: 0.75, is: '2 4 6 67.5deg'},
127 {at: 1, is: '0deg'}, 127 {at: 1, is: 'none'},
128 {at: 2, is: '2 4 6 -270deg'}, 128 {at: 2, is: '2 4 6 -270deg'},
129 ]); 129 ]);
130 130
131 assertComposition({ 131 assertComposition({
132 property: 'rotate', 132 property: 'rotate',
133 underlying: '1 2 3 90deg', 133 underlying: '1 2 3 90deg',
134 addFrom: 'none', 134 addFrom: 'none',
135 replaceTo: '0 1 0 100deg', 135 replaceTo: '0 1 0 100deg',
136 }, [ 136 }, [
137 {at: -1, is: '0.31 -0.22 0.92 131.66deg'}, 137 {at: -1, is: '0.31 -0.22 0.92 131.66deg'},
138 {at: 0, is: '1 2 3 90deg'}, 138 {at: 0, is: '1 2 3 90deg'},
139 {at: 0.25, is: '0.21 0.73 0.64 86.72deg'}, 139 {at: 0.25, is: '0.21 0.73 0.64 86.72deg'},
140 {at: 0.75, is: '0.07 0.97 0.21 92.05deg'}, 140 {at: 0.75, is: '0.07 0.97 0.21 92.05deg'},
141 {at: 1, is: '0 1 0 100deg'}, 141 {at: 1, is: '0 1 0 100deg'},
142 {at: 2, is: '-0.2 0.79 -0.59 151.11deg'}, 142 {at: 2, is: '-0.2 0.79 -0.59 151.11deg'},
143 ]); 143 ]);
144 144
145 assertComposition({ 145 assertComposition({
146 property: 'rotate', 146 property: 'rotate',
147 underlying: '1 2 3 90deg', 147 underlying: '1 2 3 90deg',
148 addFrom: '2 4 6 270deg', 148 addFrom: '2 4 6 270deg',
149 replaceTo: 'none', 149 replaceTo: 'none',
150 }, [ 150 }, [
151 {at: -1, is: '1 2 3 720deg'}, 151 {at: -1, is: '1 2 3 720deg'},
152 {at: 0, is: '1 2 3 360deg'}, 152 {at: 0, is: '1 2 3 360deg'},
153 {at: 0.25, is: '1 2 3 270deg'}, 153 {at: 0.25, is: '1 2 3 270deg'},
154 {at: 0.75, is: '1 2 3 90deg'}, 154 {at: 0.75, is: '1 2 3 90deg'},
155 {at: 1, is: '0deg'}, 155 {at: 1, is: 'none'},
156 {at: 2, is: '1 2 3 -360deg'}, 156 {at: 2, is: '1 2 3 -360deg'},
157 ]); 157 ]);
158 </script> 158 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/animations/interpolation/rotate-interpolation-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698