OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <meta charset="UTF-8"> | 2 <meta charset="UTF-8"> |
3 <style> | 3 <style> |
4 svg { | 4 svg { |
5 stroke-dashoffset: 100px; | 5 stroke-dashoffset: 100px; |
6 } | 6 } |
7 .target { | 7 .target { |
8 stroke: black; | 8 stroke: black; |
9 stroke-width: 10px; | 9 stroke-width: 10px; |
10 font-size: 16px; | 10 font-size: 16px; |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 to: '140px' | 53 to: '140px' |
54 }, [ | 54 }, [ |
55 {at: -0.25, is: '90px'}, | 55 {at: -0.25, is: '90px'}, |
56 {at: 0, is: '100px'}, | 56 {at: 0, is: '100px'}, |
57 {at: 0.25, is: '110px'}, | 57 {at: 0.25, is: '110px'}, |
58 {at: 0.5, is: '120px'}, | 58 {at: 0.5, is: '120px'}, |
59 {at: 0.75, is: '130px'}, | 59 {at: 0.75, is: '130px'}, |
60 {at: 1, is: '140px'}, | 60 {at: 1, is: '140px'}, |
61 {at: 1.25, is: '150px'}, | 61 {at: 1.25, is: '150px'}, |
62 ]); | 62 ]); |
| 63 assertInterpolation({ |
| 64 property: 'stroke-dashoffset', |
| 65 from: '-10', |
| 66 to: '10' |
| 67 }, [ |
| 68 {at: -0.25, is: '-15'}, |
| 69 {at: 0, is: '-10'}, |
| 70 {at: 0.25, is: '-5'}, |
| 71 {at: 0.5, is: '0'}, |
| 72 {at: 0.75, is: '5'}, |
| 73 {at: 1, is: '10'}, |
| 74 {at: 1.25, is: '15'}, |
| 75 ]); |
63 </script> | 76 </script> |
64 </body> | 77 </body> |
OLD | NEW |