mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 11:41:20 +08:00
36 lines
709 B
HTML
Executable File
36 lines
709 B
HTML
Executable File
<!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>
|