| <!DOCTYPE html> |
| <html> |
| <body> |
| <template id="target-template"> |
| <svg width="90" height="90"> |
| <text class="target" /> |
| </svg> |
| </template> |
| <script src="resources/interpolation-test.js"></script> |
| <script> |
| 'use strict'; |
| assertAttributeInterpolation({ |
| property: 'lengthAdjust', |
| from: 'spacing', |
| to: 'spacingAndGlyphs' |
| }, [ |
| {at: -0.4, is: 'spacing'}, |
| {at: 0, is: 'spacing'}, |
| {at: 0.2, is: 'spacing'}, |
| {at: 0.6, is: 'spacingAndGlyphs'}, |
| {at: 1, is: 'spacingAndGlyphs'}, |
| {at: 1.4, is: 'spacingAndGlyphs'} |
| ]); |
| </script> |
| </body> |
| </html> |