Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE html> | |
| 2 <script src="../svg-attribute-interpolation/resources/interpolation-test.js"></s cript> | |
| 3 <template id="target-template"> | |
| 4 <svg height="10"><stop class="target"/></svg> | |
| 5 </template> | |
| 6 <body></body> | |
| 7 <script> | |
| 8 assertAttributeInterpolation({ | |
| 9 property: 'offset', | |
| 10 underlying: 0.5, | |
| 11 from: -0.5, | |
| 12 fromComposite: 'add', | |
| 13 to: 1, | |
| 14 toComposite: 'add', | |
| 15 }, [ | |
| 16 {at: -0.5, is: -0.75}, | |
| 17 {at: 0, is: 0}, | |
| 18 {at: 0.25, is: 0.375}, | |
| 19 {at: 0.5, is: 0.75}, | |
| 20 {at: 0.75, is: 1.125}, | |
| 21 {at: 1, is: 1.5}, | |
| 22 {at: 1.5, is: 2.25} | |
| 23 ]); | |
| 24 </script> | |
| OLD | NEW |