Index: polymer_0.5.0/bower_components/web-animations-js/test/blink/interpolation/zoom-iterpolation.html |
diff --git a/polymer_0.5.0/bower_components/web-animations-js/test/blink/interpolation/zoom-iterpolation.html b/polymer_0.5.0/bower_components/web-animations-js/test/blink/interpolation/zoom-iterpolation.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..6a5ba6af0f37d16a47e5ba232a4ee63295b9d901 |
--- /dev/null |
+++ b/polymer_0.5.0/bower_components/web-animations-js/test/blink/interpolation/zoom-iterpolation.html |
@@ -0,0 +1,35 @@ |
+<!DOCTYPE html> |
+<meta charset="UTF-8"> |
+<style> |
+.target { |
+ width: 50px; |
+ height: 50px; |
+ display: inline-block; |
+ background: black; |
+} |
+.replica { |
+background: green; |
+} |
+</style> |
+<body> |
+<script src="../testharness/testharness.js"></script> |
+<script src="../testharness/testharnessreport.js"></script> |
+<script src="resources/interpolation-test.js"></script> |
+<script> |
+assertInterpolation({ |
+ property: 'zoom', |
+ from: '1', |
+ to: '2' |
+}, [ |
+ // Interpolated values are greater than 0, however this test case fails because |
+ // we clamp to 0.01. |
+ // {at: -5, is: '0.000000000000000000000000000000000000000000001'}, // zoom must be > 0 |
+ {at: -0.3, is: '0.7'}, |
+ {at: 0, is: '1'}, |
+ {at: 0.3, is: '1.3'}, |
+ {at: 0.6, is: '1.6'}, |
+ {at: 1, is: '2'}, |
+ {at: 1.5, is: '2.5'} |
+]); |
+</script> |
+</body> |