blob: 2a3f7b05b9e6d00f1f8d4bf9dc9c783f579a0a72 [file] [log] [blame]
<!DOCTYPE html>
<meta charset="UTF-8">
<style>
.target {
width: 50px;
height: 50px;
background-color: black;
display: inline-block;
outline: 4px solid orange;
margin: 10px 0px 0px 10px;
}
.replica {
background-color: green;
margin-right: 18px;
}
</style>
<body>
<script src="../testharness/testharness.js"></script>
<script src="../testharness/testharnessreport.js"></script>
<script src="resources/interpolation-test.js"></script>
<script>
assertInterpolation({
property: 'outline-offset',
from: '-5px',
to: '5px'
}, [
{at: -0.3, is: '-8px'},
{at: 0, is: '-5px'},
{at: 0.3, is: '-2px'},
{at: 0.6, is: '1px'},
{at: 1, is: '5px'},
{at: 1.5, is: '10px'},
]);
</script>
</body>