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