OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <body> | 3 <body> |
4 <template id="target-template"> | 4 <template id="target-template"> |
5 <svg width="0" height="0"> | 5 <svg width="0" height="0"> |
6 <feDistantLight class="target" /> | 6 <feDistantLight class="target" /> |
7 </svg> | 7 </svg> |
8 </template> | 8 </template> |
9 <script src="../svg-attribute-interpolation/resources/interpolation-test.js"></s
cript> | 9 <script src="../svg-attribute-interpolation/resources/interpolation-test.js"></s
cript> |
10 <script> | 10 <script> |
(...skipping 26 matching lines...) Expand all Loading... |
37 {at: 0, is: 1}, | 37 {at: 0, is: 1}, |
38 {at: 0.2, is: 3}, | 38 {at: 0.2, is: 3}, |
39 {at: 0.6, is: 7}, | 39 {at: 0.6, is: 7}, |
40 {at: 1, is: 11}, | 40 {at: 1, is: 11}, |
41 {at: 1.4, is: 15}, | 41 {at: 1.4, is: 15}, |
42 ]); | 42 ]); |
43 | 43 |
44 assertAttributeInterpolation({ | 44 assertAttributeInterpolation({ |
45 property: 'azimuth', | 45 property: 'azimuth', |
46 underlying: '5', | 46 underlying: '5', |
| 47 from: neutralKeyframe, |
47 to: '10', | 48 to: '10', |
48 toComposite: 'replace', | 49 toComposite: 'replace', |
49 }, [ | 50 }, [ |
50 {at: -0.4, is: 3}, | 51 {at: -0.4, is: 3}, |
51 {at: 0, is: 5}, | 52 {at: 0, is: 5}, |
52 {at: 0.2, is: 6}, | 53 {at: 0.2, is: 6}, |
53 {at: 0.6, is: 8}, | 54 {at: 0.6, is: 8}, |
54 {at: 1, is: 10}, | 55 {at: 1, is: 10}, |
55 {at: 1.4, is: 12}, | 56 {at: 1.4, is: 12}, |
56 ]); | 57 ]); |
57 </script> | 58 </script> |
58 </body> | 59 </body> |
59 </html> | 60 </html> |
OLD | NEW |