Chromium Code Reviews

Side by Side Diff: polymer_0.5.4/bower_components/web-animations-js/test/blink/keyframes-with-null-offsets.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.
Jump to:
View unified diff |
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.5', left: '50px'}, 8 {opacity: '0.5', left: '50px'},
9 {opacity: '0', left: '0px', offset: null}, 9 {opacity: '0', left: '0px', offset: null},
10 {opacity: '0.75', left: '75px', offset: null}, 10 {opacity: '0.75', left: '75px', offset: null},
(...skipping 21 matching lines...)
32 'element.animate() with null offsets specified', 32 'element.animate() with null offsets specified',
33 { 33 {
34 help: 'http://dev.w3.org/fxtf/web-animations/#the-keyframe-dictionary', 34 help: 'http://dev.w3.org/fxtf/web-animations/#the-keyframe-dictionary',
35 assert: [ 35 assert: [
36 'element.animate() should start an animation when keyframes are specified wi th', 36 'element.animate() should start an animation when keyframes are specified wi th',
37 'null offsets. The behaviour should be identical to not specifying the offse ts.', 37 'null offsets. The behaviour should be identical to not specifying the offse ts.',
38 ], 38 ],
39 author: 'Alan Cutter', 39 author: 'Alan Cutter',
40 }); 40 });
41 </script> 41 </script>
OLDNEW

Powered by Google App Engine