Index: polymer_0.5.0/bower_components/web-animations-js/test/blink/interpolation/border-image-outset-interpolation.html |
diff --git a/polymer_0.5.0/bower_components/web-animations-js/test/blink/interpolation/border-image-outset-interpolation.html b/polymer_0.5.0/bower_components/web-animations-js/test/blink/interpolation/border-image-outset-interpolation.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..c2ed07edaf40f2746452c1e5aae5fc960ed40def |
--- /dev/null |
+++ b/polymer_0.5.0/bower_components/web-animations-js/test/blink/interpolation/border-image-outset-interpolation.html |
@@ -0,0 +1,65 @@ |
+<!DOCTYPE html> |
+<meta charset="UTF-8"> |
+<style> |
+.target { |
+ width: 50px; |
+ height: 50px; |
+ background-color: black; |
+ display: inline-block; |
+ border: 25px; |
+ margin-right: 50px; |
+ border-image-slice: 30%; |
+ background-clip: content-box; |
+ border-image-source: linear-gradient(45deg, pink, blue, white, black, green); |
+} |
+.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: 'border-image-outset', |
+ from: '0px', |
+ to: '5px', |
+}, [ |
+ {at: -0.3, is: '0px'}, // CSS border-image-outset can't be negative. |
+ {at: 0, is: '0px'}, |
+ {at: 0.1, is: '0.5px'}, |
+ {at: 0.2, is: '1px'}, |
+ {at: 0.3, is: '1.5px'}, |
+ {at: 0.4, is: '2px'}, |
+ {at: 0.5, is: '2.5px'}, |
+ {at: 0.6, is: '3px'}, |
+ {at: 0.7, is: '3.5px'}, |
+ {at: 0.8, is: '4px'}, |
+ {at: 0.9, is: '4.5px'}, |
+ {at: 1, is: '5px'}, |
+ {at: 1.5, is: '7.5px'}, |
+ {at: 10, is: '50px'} |
+]); |
+assertInterpolation({ |
+ property: 'border-image-outset', |
+ from: '0', |
+ to: '5', |
+}, [ |
+ {at: -0.3, is: '0'}, // CSS border-image-outset can't be negative. |
+ {at: 0, is: '0'}, |
+ {at: 0.1, is: '0.5'}, |
+ {at: 0.2, is: '1'}, |
+ {at: 0.3, is: '1.5'}, |
+ {at: 0.4, is: '2'}, |
+ {at: 0.5, is: '2.5'}, |
+ {at: 0.6, is: '3'}, |
+ {at: 0.7, is: '3.5'}, |
+ {at: 0.8, is: '4'}, |
+ {at: 0.9, is: '4.5'}, |
+ {at: 1, is: '5'}, |
+ {at: 1.5, is: '7.5'}, |
+ {at: 10, is: '50'} |
+]); |
+</script> |
+</body> |