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

Side by Side Diff: third_party/WebKit/LayoutTests/web-animations-api/fill-forward-negative-end-delay.html

Issue 2643483004: Fix missed renames from renaming LayoutTests/imported/ -> LayoutTests/external/ (Closed)
Patch Set: Created 3 years, 11 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>Tests for effect clipping via negative end delay</title> 3 <title>Tests for effect clipping via negative end delay</title>
4 <link rel="help" href="http://w3c.github.io/web-animations/#calculating-the-acti ve-time"> 4 <link rel="help" href="http://w3c.github.io/web-animations/#calculating-the-acti ve-time">
5 <script src="../resources/testharness.js"></script> 5 <script src="../resources/testharness.js"></script>
6 <script src="../resources/testharnessreport.js"></script> 6 <script src="../resources/testharnessreport.js"></script>
7 <script src="../imported/wpt/web-animations/testcommon.js"></script> 7 <script src="../external/wpt/web-animations/testcommon.js"></script>
8 <body> 8 <body>
9 <script> 9 <script>
10 'use strict'; 10 'use strict';
11 11
12 test(function(t) { 12 test(function(t) {
13 var animation = createDiv(t).animate(null, { 13 var animation = createDiv(t).animate(null, {
14 fill: 'forwards', 14 fill: 'forwards',
15 duration: 1, 15 duration: 1,
16 endDelay: -1, 16 endDelay: -1,
17 }); 17 });
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 iterations: 0, 52 iterations: 0,
53 endDelay: -1, 53 endDelay: -1,
54 }); 54 });
55 animation.currentTime = 10; 55 animation.currentTime = 10;
56 assert_equals(animation.effect.getComputedTiming().progress, 0, 56 assert_equals(animation.effect.getComputedTiming().progress, 0,
57 'Progress should be 0 since there are no iterations to make progress in'); 57 'Progress should be 0 since there are no iterations to make progress in');
58 }, 'Negative end delay clipping into zero iterations'); 58 }, 'Negative end delay clipping into zero iterations');
59 59
60 </script> 60 </script>
61 </body> 61 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698