10 background-color: black;
11 motion-path: path(
"M0 0H 400");
15 background-color: green;
19 <script src=
"resources/interpolation-test.js"></script>
22 property
: 'motion-offset',
26 {at
: -0.3, is
: '7px'},
28 {at
: 0.3, is
: '13px'},
29 {at
: 0.6, is
: '16px'},
31 {at
: 1.5, is
: '25px'},
35 property
: 'motion-offset',
39 {at
: -0.3, is
: '-6px'},
42 {at
: 0.6, is
: '12px'},
44 {at
: 1.5, is
: '30px'},
48 property
: 'motion-offset',
52 {at
: -0.3, is
: '33px'},
54 {at
: 0.3, is
: '27px'},
55 {at
: 0.6, is
: '24px'},
57 {at
: 1.5, is
: '15px'},
61 property
: 'motion-offset',
65 {at
: -0.3, is
: '-6px'},
68 {at
: 0.6, is
: '12px'},
70 {at
: 1.5, is
: '30px'},
74 property
: 'motion-offset',
78 {at
: -0.3, is
: '-2px'},
80 {at
: 0.3, is
: '22px'},
81 {at
: 0.6, is
: '34px'},
83 {at
: 1.5, is
: '70px'},
87 property
: 'motion-offset',
91 // These expectations are expected to fail on the current animation engine
92 // with different (but equivalent) calc expressions.
93 {at
: -0.3, is
: 'calc(13px + -30%)'},
95 {at
: 0.3, is
: 'calc(7px + 30%)'},
96 {at
: 0.6, is
: 'calc(4px + 60%)'},
98 {at
: 1.5, is
: 'calc(-5px + 150%)'},