| Index: polymer_0.5.0/bower_components/web-animations-js/test/blink/interpolation/background-color-interpolation.html
|
| diff --git a/polymer_0.5.0/bower_components/web-animations-js/test/blink/interpolation/background-color-interpolation.html b/polymer_0.5.0/bower_components/web-animations-js/test/blink/interpolation/background-color-interpolation.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..289cf9f9487af9a3e736da6a69888fc46e6446df
|
| --- /dev/null
|
| +++ b/polymer_0.5.0/bower_components/web-animations-js/test/blink/interpolation/background-color-interpolation.html
|
| @@ -0,0 +1,46 @@
|
| +<!DOCTYPE html>
|
| +<meta charset="UTF-8">
|
| +<style>
|
| +.target {
|
| + width: 60px;
|
| + height: 60px;
|
| + display: inline-block;
|
| + border: 2px solid black;
|
| + margin-right: 2px;
|
| +}
|
| +.replica {
|
| + background-color: green;
|
| + margin-right: 15px;
|
| +}
|
| +</style>
|
| +<body>
|
| +<script src="../testharness/testharness.js"></script>
|
| +<script src="../testharness/testharnessreport.js"></script>
|
| +<script src="resources/interpolation-test.js"></script>
|
| +<script>
|
| +assertInterpolation({
|
| + property: 'background-color',
|
| + from: 'white',
|
| + to: 'orange'
|
| +}, [
|
| + {at: -0.3, is: 'white'},
|
| + {at: 0, is: 'white'},
|
| + {at: 0.3, is: 'rgb(255, 228, 179)'},
|
| + {at: 0.6, is: 'rgb(255, 201, 102)'},
|
| + {at: 1, is: 'orange'},
|
| + {at: 1.5, is: 'rgb(255, 120, 0)'},
|
| +]);
|
| +assertInterpolation({
|
| + property: 'background-color',
|
| + from: 'initial',
|
| + to: 'transparent'
|
| +}, [
|
| + {at: -0.3, is: 'transparent'},
|
| + {at: 0, is: 'transparent'},
|
| + {at: 0.3, is: 'transparent'},
|
| + {at: 0.6, is: 'transparent'},
|
| + {at: 1, is: 'transparent'},
|
| + {at: 1.5, is: 'transparent'},
|
| +]);
|
| +</script>
|
| +</body>
|
|
|