Index: polymer_0.5.0/bower_components/web-animations-js/test/blink/interpolation/opacity-interpolation.html |
diff --git a/polymer_0.5.0/bower_components/web-animations-js/test/blink/interpolation/opacity-interpolation.html b/polymer_0.5.0/bower_components/web-animations-js/test/blink/interpolation/opacity-interpolation.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d9209c61a6f3ad6a032801883110abdab067bcd9 |
--- /dev/null |
+++ b/polymer_0.5.0/bower_components/web-animations-js/test/blink/interpolation/opacity-interpolation.html |
@@ -0,0 +1,32 @@ |
+<!DOCTYPE html> |
+<meta charset="UTF-8"> |
+<style> |
+.target { |
+ width: 100px; |
+ height: 100px; |
+ background-color: black; |
+ display: inline-block; |
+} |
+.replica { |
+ background-color: 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: 'opacity', |
+ from: '0', |
+ to: '1' |
+}, [ |
+ {at: -0.3, is: '0'}, // CSS opacity is [0-1]. |
+ {at: 0, is: '0'}, |
+ {at: 0.3, is: '0.3'}, |
+ {at: 0.6, is: '0.6'}, |
+ {at: 1, is: '1'}, |
+ {at: 1.5, is: '1'} |
+]); |
+</script> |
+</body> |