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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/web-animations/interfaces/KeyframeEffect/effect-easing.html

Issue 2212873003: W3C auto test importer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 <meta charset=utf-8> 2 <meta charset=utf-8>
3 <title>Effect-level easing tests</title> 3 <title>Effect-level easing tests</title>
4 <link rel="help" href="http://w3c.github.io/web-animations/#calculating-the-tran sformed-time"> 4 <link rel="help" href="http://w3c.github.io/web-animations/#calculating-the-tran sformed-time">
5 <link rel="author" title="Hiroyuki Ikezoe" href="mailto:hiikezoe@mozilla-japan.o rg"> 5 <link rel="author" title="Hiroyuki Ikezoe" href="mailto:hiikezoe@mozilla-japan.o rg">
6 <script src="/resources/testharness.js"></script> 6 <script src="/resources/testharness.js"></script>
7 <script src="/resources/testharnessreport.js"></script> 7 <script src="/resources/testharnessreport.js"></script>
8 <script src="../../testcommon.js"></script> 8 <script src="../../testcommon.js"></script>
9 <script src="../../resources/effect-easing-tests.js"></script> 9 <script src="../../resources/effect-easing-tests.js"></script>
10 <body> 10 <body>
(...skipping 651 matching lines...) Expand 10 before | Expand all | Expand 10 after
662 } 662 }
663 if (typeof condition.width !== 'undefined') { 663 if (typeof condition.width !== 'undefined') {
664 assert_equals(getComputedStyle(target).width, 664 assert_equals(getComputedStyle(target).width,
665 condition.width, 665 condition.width,
666 'Progress at ' + animation.currentTime + 'ms'); 666 'Progress at ' + animation.currentTime + 'ms');
667 } 667 }
668 }); 668 });
669 }, options.description); 669 }, options.description);
670 }); 670 });
671 671
672 gInvalidEasingTests.forEach(function(options) {
673 test(function(t) {
674 var div = createDiv(t);
675 assert_throws({ name: 'TypeError' },
676 function() {
677 div.animate({ easing: options.easing }, 100 * MS_PER_SEC);
678 });
679 }, 'Invalid keyframe easing value: \'' + options.easing + '\'');
680 });
681
672 </script> 682 </script>
673 </body> 683 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698