Index: polymer_0.5.0/bower_components/web-animations-js/test/blink/interpolation/border-image-slice-interpolation.html |
diff --git a/polymer_0.5.0/bower_components/web-animations-js/test/blink/interpolation/border-image-slice-interpolation.html b/polymer_0.5.0/bower_components/web-animations-js/test/blink/interpolation/border-image-slice-interpolation.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..acb00e457a6a38317bd7ac743b81b3cab37bf4d6 |
--- /dev/null |
+++ b/polymer_0.5.0/bower_components/web-animations-js/test/blink/interpolation/border-image-slice-interpolation.html |
@@ -0,0 +1,43 @@ |
+<!DOCTYPE html> |
+<meta charset="UTF-8"> |
+<style> |
+.target { |
+ width: 50px; |
+ height: 50px; |
+ background-color: black; |
+ display: inline-block; |
+ border: 25px; |
+ border-image-source: linear-gradient(45deg, red, blue, green); |
+} |
+.replica { |
+ background-color: green; |
+ margin-right: 2px; |
+} |
+</style> |
+<body> |
+<script src="../testharness/testharness.js"></script> |
+<script src="../testharness/testharnessreport.js"></script> |
+<script src="resources/interpolation-test.js"></script> |
+<script> |
+assertInterpolation({ |
+ property: 'border-image-slice', |
+ from: '0%', |
+ to: '50%', |
+}, [ |
+ {at: -0.3, is: '0%'}, // CSS border-image-slice can't be negative. |
+ {at: 0, is: '0%'}, |
+ {at: 0.1, is: '5%'}, |
+ {at: 0.2, is: '10%'}, |
+ {at: 0.3, is: '15%'}, |
+ {at: 0.4, is: '20%'}, |
+ {at: 0.5, is: '25%'}, |
+ {at: 0.6, is: '30%'}, |
+ {at: 0.7, is: '35%'}, |
+ {at: 0.8, is: '40%'}, |
+ {at: 0.9, is: '45%'}, |
+ {at: 1, is: '50%'}, |
+ {at: 1.5, is: '75%'}, |
+ {at: 10, is: '500%'} |
+]); |
+</script> |
+</body> |