Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1283)

Unified Diff: polymer_0.5.0/bower_components/web-animations-js/test/blink/interpolation/border-image-slice-interpolation.html

Issue 786953007: npm_modules: Fork bower_components into Polymer 0.4.0 and 0.5.0 versions (Closed) Base URL: https://chromium.googlesource.com/infra/third_party/npm_modules.git@master
Patch Set: Created 5 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698