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

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

Issue 2662203002: CSS: Rotate support for none and fixed responsive-test.js (Closed)
Patch Set: avoid expectation failure on Mac 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
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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 addFrom: '0 1 0 180deg', 92 addFrom: '0 1 0 180deg',
93 replaceTo: '0 0 1 90deg', 93 replaceTo: '0 0 1 90deg',
94 }, [ 94 }, [
95 {at: -1, is: '-6.12323e-17 -1 1.57009e-16 90deg'}, 95 {at: -1, is: '-6.12323e-17 -1 1.57009e-16 90deg'},
96 {at: 0, is: '-4.32978e-17 -0.707107 -0.707107 180deg'}, 96 {at: 0, is: '-4.32978e-17 -0.707107 -0.707107 180deg'},
97 {at: 0.25, is: '-1.48952e-16 -0.894427 -0.447214 131.81deg'}, 97 {at: 0.25, is: '-1.48952e-16 -0.894427 -0.447214 131.81deg'},
98 {at: 0.75, is: '-2.94392e-17 -0.707107 0.707107 70.5288deg'}, 98 {at: 0.75, is: '-2.94392e-17 -0.707107 0.707107 70.5288deg'},
99 {at: 1, is: '90deg'}, 99 {at: 1, is: '90deg'},
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
103 assertComposition({
104 property: 'rotate',
105 underlying: 'none',
106 addFrom: 'none',
107 replaceTo: '0 1 0 100deg',
108 }, [
109 {at: -1, is: '0 1 0 -100deg'},
110 {at: 0, is: '0deg'},
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'},
113 {at: 1, is: '0 1 0 100deg'},
114 {at: 2, is: '0 1 0 200deg'},
115 ]);
116
117 assertComposition({
118 property: 'rotate',
119 underlying: 'none',
120 addFrom: '2 4 6 270deg',
121 replaceTo: 'none',
122 }, [
123 {at: -1, is: '2 4 6 540deg'},
124 {at: 0, is: '2 4 6 270deg'},
125 {at: 0.25, is: '2 4 6 202.5deg'},
126 {at: 0.75, is: '2 4 6 67.5deg'},
127 {at: 1, is: '0deg'},
128 {at: 2, is: '2 4 6 -270deg'},
129 ]);
130
131 assertComposition({
132 property: 'rotate',
133 underlying: '1 2 3 90deg',
134 addFrom: 'none',
135 replaceTo: '0 1 0 100deg',
136 }, [
137 {at: -1, is: '0.31 -0.22 0.92 131.66deg'},
138 {at: 0, is: '1 2 3 90deg'},
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'},
141 {at: 1, is: '0 1 0 100deg'},
142 {at: 2, is: '-0.2 0.79 -0.59 151.11deg'},
143 ]);
144
145 assertComposition({
146 property: 'rotate',
147 underlying: '1 2 3 90deg',
148 addFrom: '2 4 6 270deg',
149 replaceTo: 'none',
150 }, [
151 {at: -1, is: '1 2 3 720deg'},
152 {at: 0, is: '1 2 3 360deg'},
153 {at: 0.25, is: '1 2 3 270deg'},
154 {at: 0.75, is: '1 2 3 90deg'},
155 {at: 1, is: '0deg'},
156 {at: 2, is: '1 2 3 -360deg'},
157 ]);
102 </script> 158 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698