| 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="90" height="90"> | 5 <svg width="90" height="90"> |
| 6 <defs> | 6 <defs> |
| 7 <filter> | 7 <filter> |
| 8 <feConvolveMatrix class="target" /> | 8 <fePointLight class="target" /> |
| 9 </filter> | 9 </filter> |
| 10 </defs> | 10 </defs> |
| 11 </svg> | 11 </svg> |
| 12 </template> | 12 </template> |
| 13 <script src="resources/interpolation-test.js"></script> | 13 <script src="resources/interpolation-test.js"></script> |
| 14 <script> | 14 <script> |
| 15 'use strict'; | 15 'use strict'; |
| 16 assertAttributeInterpolation({ | 16 assertAttributeInterpolation({ |
| 17 property: 'edgeMode', | 17 property: 'z', |
| 18 from: 'duplicate', | 18 from: '1', |
| 19 to: 'wrap' | 19 to: '6' |
| 20 }, [ | 20 }, [ |
| 21 {at: -0.4, is: 'duplicate'}, | 21 {at: -0.4, is: -1}, |
| 22 {at: 0, is: 'duplicate'}, | 22 {at: 0, is: 1}, |
| 23 {at: 0.2, is: 'duplicate'}, | 23 {at: 0.2, is: 2}, |
| 24 {at: 0.6, is: 'wrap'}, | 24 {at: 0.6, is: 4}, |
| 25 {at: 1, is: 'wrap'}, | 25 {at: 1, is: 6}, |
| 26 {at: 1.4, is: 'wrap'} | 26 {at: 1.4, is: 8} |
| 27 ]); | 27 ]); |
| 28 </script> | 28 </script> |
| 29 </body> | 29 </body> |
| 30 </html> | 30 </html> |
| OLD | NEW |