<!DOCTYPE html> | |
<body> | |
<style> | |
.target { | |
width: 100px; | |
height: 100px; | |
display: inline-block; | |
} | |
</style> | |
<template id="target-template">Text</template> | |
<script src="resources/interpolation-test.js"></script> | |
<script> | |
runAsRefTest(); | |
testInterpolationAt([-0.3, 0, 0.3, 0.6, 1, 1.5], { | |
property: '-webkit-transform', | |
from: 'rotate(0deg)', | |
to: 'rotate(180deg)' | |
}); | |
</script> |