OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <html> |
| 3 <body> |
| 4 <template id="target-template"> |
| 5 <svg width="90" height="90"> |
| 6 <defs> |
| 7 <filter> |
| 8 <feColorMatrix type="matrix" class="target" /> |
| 9 </filter> |
| 10 </defs> |
| 11 </svg> |
| 12 </template> |
| 13 <script src="resources/interpolation-test.js"></script> |
| 14 <script> |
| 15 'use strict'; |
| 16 assertAttributeInterpolation({ |
| 17 property: 'values', |
| 18 from: '1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, -20'
, |
| 19 to: '11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 2
9, -30' |
| 20 }, [ |
| 21 {at: -0.4, is: '-3, -2, -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14,
15, -16'}, |
| 22 {at: 0, is: '1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19
, -20'}, |
| 23 {at: 0.2, is: '3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20
, 21, -22'}, |
| 24 {at: 0.6, is: '7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23
, 24, 25, -26'}, |
| 25 {at: 1, is: '11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 2
7, 28, 29, -30'}, |
| 26 {at: 1.4, is: '15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30,
31, 32, 33, -34'} |
| 27 ]); |
| 28 </script> |
| 29 </body> |
| 30 </html> |
OLD | NEW |