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

Side by Side Diff: LayoutTests/animations/interpolation/zoom-iterpolation.html

Issue 285643006: Kill WTF::DecimalNumber class (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Inline single-line function Created 6 years, 7 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 | Annotate | Revision Log
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 width: 50px; 5 width: 50px;
6 height: 50px; 6 height: 50px;
7 display: inline-block; 7 display: inline-block;
8 background: black; 8 background: black;
9 } 9 }
10 .replica { 10 .replica {
11 background: green; 11 background: green;
12 } 12 }
13 </style> 13 </style>
14 <body> 14 <body>
15 <script src="resources/interpolation-test.js"></script> 15 <script src="resources/interpolation-test.js"></script>
16 <script> 16 <script>
17 assertInterpolation({ 17 assertInterpolation({
18 property: 'zoom', 18 property: 'zoom',
19 from: '1', 19 from: '1',
20 to: '2' 20 to: '2'
21 }, [ 21 }, [
22 {at: -5, is: '0.00001'}, // zoom must be > 0 22 {at: -5, is: '0.000000000000000000000000000000000000000000001'}, // zoom must be > 0
23 {at: -0.3, is: '0.7'}, 23 {at: -0.3, is: '0.7'},
24 {at: 0, is: '1'}, 24 {at: 0, is: '1'},
25 {at: 0.3, is: '1.3'}, 25 {at: 0.3, is: '1.3'},
26 {at: 0.6, is: '1.6'}, 26 {at: 0.6, is: '1.6'},
27 {at: 1, is: '2'}, 27 {at: 1, is: '2'},
28 {at: 1.5, is: '2.5'} 28 {at: 1.5, is: '2.5'}
29 ]); 29 ]);
30 </script> 30 </script>
31 </body> 31 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698