Chromium Code Reviews

Side by Side Diff: polymer_0.5.4/bower_components/web-animations-js/test/blink/same-offset-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.
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', left: '0px'}, 8 {opacity: '0', left: '0px'},
9 {opacity: '0.5', left: '50px', offset: 0.5}, 9 {opacity: '0.5', left: '50px', offset: 0.5},
10 {opacity: '0', left: '0px', offset: 0.5}, 10 {opacity: '0', left: '0px', offset: 0.5},
(...skipping 32 matching lines...)
43 { 43 {
44 help: 'http://dev.w3.org/fxtf/web-animations/#the-unaccumulated-animation-valu e-of-a-keyframe-animation-effect', 44 help: 'http://dev.w3.org/fxtf/web-animations/#the-unaccumulated-animation-valu e-of-a-keyframe-animation-effect',
45 assert: [ 45 assert: [
46 'element.animate() should start an animation when keyframes have equal offse t values.', 46 'element.animate() should start an animation when keyframes have equal offse t values.',
47 'If the properties of the equal offset keyframes are disjoint then the anima tion should', 47 'If the properties of the equal offset keyframes are disjoint then the anima tion should',
48 'be equivalent to having a single keyframe at that offset (assuming the easi ngs are equal too).', 48 'be equivalent to having a single keyframe at that offset (assuming the easi ngs are equal too).',
49 ], 49 ],
50 author: 'Alan Cutter', 50 author: 'Alan Cutter',
51 }); 51 });
52 </script> 52 </script>
OLDNEW

Powered by Google App Engine