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

Side by Side Diff: LayoutTests/animations/interpolation/shape-image-threshold.html

Issue 811993002: Animation: Implement DoubleStyleInterpolation in StringKeyframe (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove shape image threshold test Created 5 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 <body> 3 <body>
4 <script src="resources/interpolation-test.js"></script> 4 <script src="resources/interpolation-test.js"></script>
5 <script> 5 <script>
6 assertInterpolation({ 6 assertInterpolation({
7 property: 'shape-image-threshold', 7 property: 'shape-image-threshold',
8 from: '0.5', 8 from: '0.5',
9 to: '1' 9 to: '1'
10 }, [ 10 }, [
11 {at: -1.5, is: '0'}, 11 {at: -1.5, is: '0'},
12 {at: -0.5, is: '0.25'}, 12 {at: -0.5, is: '0.25'},
13 {at: 0, is: '0.5'}, 13 {at: 0, is: '0.5'},
14 {at: 0.5, is: '0.75'}, 14 {at: 0.5, is: '0.75'},
15 {at: 1, is: '1'}, 15 {at: 1, is: '1'},
16 {at: 1.5, is: '1'} 16 {at: 1.5, is: '1'}
17 ]); 17 ]);
18 assertInterpolation({
19 property: 'shape-image-threshold',
20 from: '2',
21 to: '4'
22 }, [
23 {at: -1.5, is: '0'},
24 {at: -0.75, is: '0.5'},
25 {at: -0.5, is: '1'},
26 {at: 0, is: '1'},
27 {at: 0.5, is: '1'},
28 {at: 1, is: '1'},
29 {at: 1.5, is: '1'}
30 ]);
18 </script> 31 </script>
19 </body> 32 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698