mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 19:57:22 +08:00
30 lines
583 B
HTML
Executable File
30 lines
583 B
HTML
Executable File
<!DOCTYPE html>
|
|
<body>
|
|
<style>
|
|
.target {
|
|
width: 100px;
|
|
height: 100px;
|
|
background-color: black;
|
|
display: inline-block;
|
|
}
|
|
</style>
|
|
<script src="../testharness/testharness.js"></script>
|
|
<script src="../testharness/testharnessreport.js"></script>
|
|
<script src="resources/interpolation-test.js"></script>
|
|
<script>
|
|
assertInterpolation({
|
|
property: 'widows',
|
|
from: '10',
|
|
to: '20'
|
|
}, [
|
|
{at: -3.0, is: '1'},
|
|
{at: -2.5, is: '1'},
|
|
{at: -0.5, is: '5'},
|
|
{at: 0, is: '10'},
|
|
{at: 0.3, is: '13'},
|
|
{at: 0.6, is: '16'},
|
|
{at: 1, is: '20'},
|
|
{at: 1.5, is: '25'}
|
|
]);
|
|
</script>
|