OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <meta charset="UTF-8"> |
| 3 <style> |
| 4 .target { |
| 5 display: inline-block; |
| 6 font: 60pt sans-serif; |
| 7 } |
| 8 .replica { |
| 9 margin-right: 15px; |
| 10 } |
| 11 </style> |
| 12 <body> |
| 13 <template id="target-template">T</template> |
| 14 <script src="resources/interpolation-test.js"></script> |
| 15 <script> |
| 16 assertInterpolation({ |
| 17 property: '-webkit-text-fill-color', |
| 18 from: 'black', |
| 19 to: 'orange' |
| 20 }, [ |
| 21 {at: -0.3, is: 'black'}, |
| 22 {at: 0, is: 'black'}, |
| 23 {at: 0.3, is: 'rgb(77, 50, 0)'}, |
| 24 {at: 0.6, is: 'rgb(153, 99, 0)'}, |
| 25 {at: 1, is: 'orange'}, |
| 26 {at: 1.5, is: 'rgb(255, 248, 0)'}, |
| 27 ]); |
| 28 </script> |
| 29 </body |
OLD | NEW |