blob: 8ba5826430055c49bb15a0bb9fc4477ff441fdc6 [file] [log] [blame]
<!DOCTYPE html>
<html>
<body>
<template id="target-template">
<svg width="90" height="90">
<pattern class="target" />
</svg>
</template>
<script src="resources/interpolation-test.js"></script>
<script>
'use strict';
assertAttributeInterpolation({
property: 'patternContentUnits',
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>