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 <feComponentTransfer> | 6 <feComponentTransfer> |
7 <feFuncR type="gamma" class="target" /> | 7 <feFuncR type="gamma" class="target" /> |
8 </feComponentTransfer> | 8 </feComponentTransfer> |
9 </svg> | 9 </svg> |
10 </template> | 10 </template> |
(...skipping 28 matching lines...) Expand all Loading... |
39 {at: 0, is: 1}, | 39 {at: 0, is: 1}, |
40 {at: 0.2, is: 3}, | 40 {at: 0.2, is: 3}, |
41 {at: 0.6, is: 7}, | 41 {at: 0.6, is: 7}, |
42 {at: 1, is: 11}, | 42 {at: 1, is: 11}, |
43 {at: 1.4, is: 15}, | 43 {at: 1.4, is: 15}, |
44 ]); | 44 ]); |
45 | 45 |
46 assertAttributeInterpolation({ | 46 assertAttributeInterpolation({ |
47 property: 'amplitude', | 47 property: 'amplitude', |
48 underlying: '5', | 48 underlying: '5', |
| 49 from: neutralKeyframe, |
49 to: '10', | 50 to: '10', |
50 toComposite: 'replace', | 51 toComposite: 'replace', |
51 }, [ | 52 }, [ |
52 {at: -0.4, is: 3}, | 53 {at: -0.4, is: 3}, |
53 {at: 0, is: 5}, | 54 {at: 0, is: 5}, |
54 {at: 0.2, is: 6}, | 55 {at: 0.2, is: 6}, |
55 {at: 0.6, is: 8}, | 56 {at: 0.6, is: 8}, |
56 {at: 1, is: 10}, | 57 {at: 1, is: 10}, |
57 {at: 1.4, is: 12}, | 58 {at: 1.4, is: 12}, |
58 ]); | 59 ]); |
59 </script> | 60 </script> |
60 </body> | 61 </body> |
61 </html> | 62 </html> |
OLD | NEW |