blob: 9866f14005a7647a821a6a7df4d331d5af553520 [file] [log] [blame]
<!DOCTYPE html>
<html>
<body>
<template id="target-template">
<svg width="90" height="90" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<linearGradient class="target" />
</svg>
</template>
<script src="resources/interpolation-test.js"></script>
<script>
'use strict';
assertAttributeInterpolation({
property: 'href',
from: '#A',
to: '#B'
}, [
{at: -0.4, is: '#A'},
{at: 0, is: '#A'},
{at: 0.2, is: '#A'},
{at: 0.6, is: '#B'},
{at: 1, is: '#B'},
{at: 1.4, is: '#B'}
]);
</script>
</body>
</html>