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

Side by Side Diff: polymer_0.5.4/bower_components/web-animations-js/test/blink/eased-keyframes.html

Issue 895523005: Added Polymer 0.5.4 (Closed) Base URL: https://chromium.googlesource.com/infra/third_party/npm_modules.git@master
Patch Set: Created 5 years, 10 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 unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <script src="testharness/testharness.js"></script> 2 <script src="testharness/testharness.js"></script>
3 <script src="testharness/testharnessreport.js"></script> 3 <script src="testharness/testharnessreport.js"></script>
4 <script src="resources/keyframes-test.js"></script> 4 <script src="resources/keyframes-test.js"></script>
5 <script> 5 <script>
6 test(function() { 6 test(function() {
7 assertAnimationStyles([ 7 assertAnimationStyles([
8 {opacity: '0', left: '0px', easing: 'steps(2, start)'}, 8 {opacity: '0', left: '0px', easing: 'steps(2, start)'},
9 {opacity: '0.25', left: '25px'}, 9 {opacity: '0.25', left: '25px'},
10 {opacity: '0.75', left: '75px'}, 10 {opacity: '0.75', left: '75px'},
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 'element.animate() with easing on last keyframe', 86 'element.animate() with easing on last keyframe',
87 { 87 {
88 help: 'http://dev.w3.org/fxtf/web-animations/#the-keyframe-dictionary', 88 help: 'http://dev.w3.org/fxtf/web-animations/#the-keyframe-dictionary',
89 assert: [ 89 assert: [
90 'element.animate() should start an animation when keyframes are specified wi th timing functions', 90 'element.animate() should start an animation when keyframes are specified wi th timing functions',
91 'for their easing property. Easing on the last keyframes should have no effe ct on the animation.', 91 'for their easing property. Easing on the last keyframes should have no effe ct on the animation.',
92 ], 92 ],
93 author: 'Alan Cutter', 93 author: 'Alan Cutter',
94 }); 94 });
95 </script> 95 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698