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

Side by Side Diff: LayoutTests/animations/interpolation/line-height-interpolation.html

Issue 90113003: Web Animations CSS: Fix crash when animating viewport units (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Preserve legacy viewport unit blend behaviour Created 7 years 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/animations/interpolation/line-height-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 <style> 3 <style>
4 .target { 4 .target {
5 display: inline-block; 5 display: inline-block;
6 font: 20px sans-serif; 6 font: 20px sans-serif;
7 } 7 }
8 .replica { 8 .replica {
9 color: green; 9 color: green;
10 margin-right: 30px; 10 margin-right: 30px;
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 from: '14px', 121 from: '14px',
122 to: '4' 122 to: '4'
123 }, [ 123 }, [
124 {at: -0.3, is: '14px'}, 124 {at: -0.3, is: '14px'},
125 {at: 0, is: '14px'}, 125 {at: 0, is: '14px'},
126 {at: 0.3, is: '14px'}, 126 {at: 0.3, is: '14px'},
127 {at: 0.6, is: '4'}, 127 {at: 0.6, is: '4'},
128 {at: 1, is: '4'}, 128 {at: 1, is: '4'},
129 {at: 1.5, is: '4'}, 129 {at: 1.5, is: '4'},
130 ]); 130 ]);
131 assertInterpolation({
132 property: 'line-height',
133 from: '4vw',
134 to: '14vw'
135 }, [
136 {at: -1, is: '0'},
137 {at: -0.3, is: '1vw'},
138 {at: 0, is: '4vw'},
139 {at: 0.3, is: '7vw'},
140 {at: 0.6, is: '10vw'},
141 {at: 1, is: '14vw'},
142 {at: 1.5, is: '19vw'},
143 ]);
144 assertInterpolation({
145 property: 'line-height',
146 from: '50vmin',
147 to: '100px'
148 }, [
149 {at: -0.25, is: '50vmin'},
150 {at: 0, is: '50vmin'},
151 {at: 0.25, is: '50vmin'},
152 {at: 0.75, is: '100px'},
153 {at: 1, is: '100px'},
154 {at: 1.5, is: '100px'},
155 ]);
156 assertInterpolation({
157 property: 'line-height',
158 from: '100px',
159 to: '50vmax'
160 }, [
161 {at: -0.25, is: '100px'},
dstockwell 2013/11/27 09:27:34 This seems to suggest that stepping is the correct
alancutter (OOO until 2018) 2013/11/27 23:31:52 Done.
162 {at: 0, is: '100px'},
163 {at: 0.25, is: '100px'},
164 {at: 0.75, is: '50vmax'},
165 {at: 1, is: '50vmax'},
166 {at: 1.5, is: '50vmax'},
167 ]);
168 assertInterpolation({
169 property: 'line-height',
170 from: '50vw',
171 to: '100vh'
172 }, [
173 {at: -0.25, is: '50vw'},
174 {at: 0, is: '50vw'},
175 {at: 0.25, is: '50vw'},
176 {at: 0.75, is: '100vh'},
177 {at: 1, is: '100vh'},
178 {at: 1.5, is: '100vh'},
179 ]);
131 </script> 180 </script>
132 </body> 181 </body>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/animations/interpolation/line-height-interpolation-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698