| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <meta charset="UTF-8"> | 2 <meta charset="UTF-8"> |
| 3 <style> | 3 <style> |
| 4 .container { | 4 .container { |
| 5 display: inline-block; | 5 display: inline-block; |
| 6 } | 6 } |
| 7 svg { | 7 svg { |
| 8 width: 50px; | 8 width: 50px; |
| 9 height: 100px; | 9 height: 100px; |
| 10 } | 10 } |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 } | 23 } |
| 24 </style> | 24 </style> |
| 25 <body> | 25 <body> |
| 26 <template id="target-template"> | 26 <template id="target-template"> |
| 27 <svg><path d="M0,100 l25,-50 l25,50" /></svg> | 27 <svg><path d="M0,100 l25,-50 l25,50" /></svg> |
| 28 </template> | 28 </template> |
| 29 <script src="resources/interpolation-test.js"></script> | 29 <script src="resources/interpolation-test.js"></script> |
| 30 <script> | 30 <script> |
| 31 assertInterpolation({ | 31 assertInterpolation({ |
| 32 property: 'stroke-miterlimit', | 32 property: 'stroke-miterlimit', |
| 33 from: '', | 33 from: neutralKeyframe, |
| 34 to: '2', | 34 to: '2', |
| 35 }, [ | 35 }, [ |
| 36 {at: -0.4, is: '1.3'}, | 36 {at: -0.4, is: '1.3'}, |
| 37 {at: 0, is: '1.5'}, | 37 {at: 0, is: '1.5'}, |
| 38 {at: 0.2, is: '1.6'}, | 38 {at: 0.2, is: '1.6'}, |
| 39 {at: 0.6, is: '1.8'}, | 39 {at: 0.6, is: '1.8'}, |
| 40 {at: 1, is: '2'}, | 40 {at: 1, is: '2'}, |
| 41 {at: 1.5, is: '2.25'}, | 41 {at: 1.5, is: '2.25'}, |
| 42 ]); | 42 ]); |
| 43 | 43 |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 }, [ | 87 }, [ |
| 88 {at: -0.4, is: '1'}, | 88 {at: -0.4, is: '1'}, |
| 89 {at: 0, is: '1'}, | 89 {at: 0, is: '1'}, |
| 90 {at: 0.2, is: '1.4'}, | 90 {at: 0.2, is: '1.4'}, |
| 91 {at: 0.6, is: '2.2'}, | 91 {at: 0.6, is: '2.2'}, |
| 92 {at: 1, is: '3'}, | 92 {at: 1, is: '3'}, |
| 93 {at: 1.5, is: '4'} | 93 {at: 1.5, is: '4'} |
| 94 ]); | 94 ]); |
| 95 </script> | 95 </script> |
| 96 </body> | 96 </body> |
| OLD | NEW |