Chromium Code Reviews

Side by Side Diff: polymer_0.4.0/bower_components/web-animations-js/test/testcases/auto-test-iterations-alternate-holes.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, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
OLDNEW
1 <!-- 1 <!--
2 Copyright 2012 Google Inc. All Rights Reserved. 2 Copyright 2012 Google Inc. All Rights Reserved.
3 3
4 Licensed under the Apache License, Version 2.0 (the "License"); 4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License. 5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at 6 You may obtain a copy of the License at
7 7
8 http://www.apache.org/licenses/LICENSE-2.0 8 http://www.apache.org/licenses/LICENSE-2.0
9 9
10 Unless required by applicable law or agreed to in writing, software 10 Unless required by applicable law or agreed to in writing, software
(...skipping 28 matching lines...)
39 // https://www.w3.org/Bugs/Public/show_bug.cgi?id=22402 39 // https://www.w3.org/Bugs/Public/show_bug.cgi?id=22402
40 40
41 var anim = new Animation( 41 var anim = new Animation(
42 document.getElementById("a"), [{left: "100px"}, {left: "500px"}], 42 document.getElementById("a"), [{left: "100px"}, {left: "500px"}],
43 {iterations: Infinity, duration: 1.0 * 1000, fill: 'forwards'}); 43 {iterations: Infinity, duration: 1.0 * 1000, fill: 'forwards'});
44 var animationGroup = new AnimationGroup([anim], 44 var animationGroup = new AnimationGroup([anim],
45 {direction: "alternate", duration: 1.0 * 1000, iterations: 3.0, fill: 'forwa rds'}); 45 {direction: "alternate", duration: 1.0 * 1000, iterations: 3.0, fill: 'forwa rds'});
46 46
47 document.timeline.play(animationGroup); 47 document.timeline.play(animationGroup);
48 </script> 48 </script>
OLDNEW

Powered by Google App Engine