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