blob: 47004a47610c1c1f9ac6acb20b1a053d08dced24 [file] [log] [blame]
<!DOCTYPE html>
<html>
<body>
<template id="target-template">
<svg width="90" height="90">
<filter class="target" />
</svg>
</template>
<script src="resources/interpolation-test.js"></script>
<script>
'use strict';
assertAttributeInterpolation({
property: 'primitiveUnits',
from: 'userSpaceOnUse',
to: 'objectBoundingBox',
}, [
{at: -2.4, is: 'userSpaceOnUse'},
{at: 0, is: 'userSpaceOnUse'},
{at: 0.2, is: 'userSpaceOnUse'},
{at: 0.6, is: 'objectBoundingBox'},
{at: 1, is: 'objectBoundingBox'},
{at: 3.4, is: 'objectBoundingBox'}
]);
</script>
</body>
</html>