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

Unified Diff: polymer_0.5.0/bower_components/web-animations-js/test/blink/interpolation/zoom-iterpolation.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/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>

Powered by Google App Engine
This is Rietveld 408576698