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 <feBlend class="target" /> | 6 <feBlend 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 10 matching lines...) Expand all Loading... |
21 {at: 0, is: 'screen'}, | 21 {at: 0, is: 'screen'}, |
22 {at: 0.2, is: 'screen'}, | 22 {at: 0.2, is: 'screen'}, |
23 {at: 0.6, is: 'lighten'}, | 23 {at: 0.6, is: 'lighten'}, |
24 {at: 1, is: 'lighten'}, | 24 {at: 1, is: 'lighten'}, |
25 {at: 3.4, is: 'lighten'} | 25 {at: 3.4, is: 'lighten'} |
26 ]); | 26 ]); |
27 | 27 |
28 assertAttributeInterpolation({ | 28 assertAttributeInterpolation({ |
29 property: 'mode', | 29 property: 'mode', |
30 underlying: 'multiply' | 30 underlying: 'multiply' |
| 31 from: neutralKeyframe, |
31 to: 'lighten', | 32 to: 'lighten', |
32 toComposite: 'replace', | 33 toComposite: 'replace', |
33 }, [ | 34 }, [ |
34 {at: -2.4, is: 'multiply'}, | 35 {at: -2.4, is: 'multiply'}, |
35 {at: 0, is: 'multiply'}, | 36 {at: 0, is: 'multiply'}, |
36 {at: 0.2, is: 'multiply'}, | 37 {at: 0.2, is: 'multiply'}, |
37 {at: 0.6, is: 'lighten'}, | 38 {at: 0.6, is: 'lighten'}, |
38 {at: 1, is: 'lighten'}, | 39 {at: 1, is: 'lighten'}, |
39 {at: 3.4, is: 'lighten'} | 40 {at: 3.4, is: 'lighten'} |
40 ]); | 41 ]); |
41 </script> | 42 </script> |
42 </body> | 43 </body> |
43 </html> | 44 </html> |
OLD | NEW |