| Index: polymer_0.5.0/bower_components/web-animations-js/test/blink/interpolation/perspective-interpolation.html
|
| diff --git a/polymer_0.5.0/bower_components/web-animations-js/test/blink/interpolation/perspective-interpolation.html b/polymer_0.5.0/bower_components/web-animations-js/test/blink/interpolation/perspective-interpolation.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..8c1340f085e4d3714f3fcd539c88256a42f7c314
|
| --- /dev/null
|
| +++ b/polymer_0.5.0/bower_components/web-animations-js/test/blink/interpolation/perspective-interpolation.html
|
| @@ -0,0 +1,48 @@
|
| +<!DOCTYPE html>
|
| +<meta charset="UTF-8">
|
| +<style>
|
| +.target {
|
| + display: inline-block;
|
| + margin-top: 50px;
|
| + margin-bottom: 25px;
|
| +}
|
| +.transformed {
|
| + width: 50px;
|
| + height: 50px;
|
| + background: black;
|
| + transform: rotateY(45deg);
|
| +}
|
| +.replica .transformed {
|
| + background: green;
|
| +}
|
| +.replica {
|
| + position: relative;
|
| + left: -50px;
|
| + opacity: 0.75;
|
| +}
|
| +</style>
|
| +<body>
|
| +<template id="target-template">
|
| +<div><div class="transformed"></div></div>
|
| +</template>
|
| +<script src="../testharness/testharness.js"></script>
|
| +<script src="../testharness/testharnessreport.js"></script>
|
| +<script src="resources/interpolation-test.js"></script>
|
| +<script>
|
| +assertInterpolation({
|
| + property: 'perspective',
|
| + prefixedProperty: ['-webkit-perspective'],
|
| + from: '50px',
|
| + to: '100px'
|
| +}, [
|
| + {at: -20, is: 'none'}, // perspective does not accept 0 or negative values
|
| + {at: -1, is: 'none'}, // perspective does not accept 0 or negative values
|
| + {at: -0.3, is: '35px'},
|
| + {at: 0, is: '50px'},
|
| + {at: 0.3, is: '65px'},
|
| + {at: 0.6, is: '80px'},
|
| + {at: 1, is: '100px'},
|
| + {at: 1.5, is: '125px'}
|
| +]);
|
| +</script>
|
| +</body>
|
|
|