4 <template id=
"target-template">
5 <svg width=
"90" height=
"90">
13 <script src=
"resources/interpolation-test.js"></script>
16 assertAttributeInterpolation({
18 from: '20, 30, 40, 500',
19 to
: '120, 130, 140, 1500'
21 {at
: -0.4, is
: '-20, -10, 0, 100'},
22 {at
: 0, is
: '20, 30, 40, 500'},
23 {at
: 0.2, is
: '40, 50, 60, 700'},
24 {at
: 0.6, is
: '80, 90, 100, 1100'},
25 {at
: 1, is
: '120, 130, 140, 1500'},
26 {at
: 1.4, is
: '160, 170, 180, 1900'}
28 assertAttributeInterpolation({
36 {at
: 0.6, is
: '70, 80'},
37 {at
: 1, is
: '70, 80'},
38 {at
: 1.4, is
: '70, 80'}