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

Side by Side Diff: third_party/WebKit/LayoutTests/web-animations-api/element-animate-null-effect.html

Issue 2140913002: Animations: Fix element.animate() null effect test (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <meta charset=utf-8>
3 <title>element.animate() accepts a null effect</title>
4 <link rel="help" href="http://w3c.github.io/web-animations/#animatable">
2 <script src="../resources/testharness.js"></script> 5 <script src="../resources/testharness.js"></script>
3 <script src="../resources/testharnessreport.js"></script> 6 <script src="../resources/testharnessreport.js"></script>
7 <script src="../imported/wpt/web-animations/testcommon.js"></script>
8 <body>
4 <script> 9 <script>
5 var element = document.documentElement; 10 "use strict";
6 test(function() { 11
12 test(function(t) {
13 var element = createDiv(t);
7 assert_true(element.animate(null) != null); 14 assert_true(element.animate(null) != null);
8 assert_true(element.animate(null, 1) != null); 15 assert_true(element.animate(null, 1) != null);
9 assert_true(element.animate(null, {duration: 1}) != null); 16 assert_true(element.animate(null, {duration: 1}) != null);
10 }, 'Animate should accept a null effect.'); 17 }, 'Animate should accept a null effect.');
11 </script> 18 </script>
19 </body>
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698