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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/web-animations/timing-model/animations/set-the-animation-start-time.html

Issue 2018873002: Fix testharness paths in imported/wpt/* except dom and html. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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>Setting the start time tests</title> 3 <title>Setting the start time tests</title>
4 <link rel="help" href="https://w3c.github.io/web-animations/#set-the-animation-s tart-time"> 4 <link rel="help" href="https://w3c.github.io/web-animations/#set-the-animation-s tart-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="../../testcommon.js"></script> 7 <script src="../../testcommon.js"></script>
8 <body> 8 <body>
9 <div id="log"></div> 9 <div id="log"></div>
10 <script> 10 <script>
11 'use strict'; 11 'use strict';
12 12
13 test(function(t) 13 test(function(t)
14 { 14 {
15 // It should only be possible to set *either* the start time or the current 15 // It should only be possible to set *either* the start time or the current
16 // time for an animation that does not have an active timeline. 16 // time for an animation that does not have an active timeline.
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 var finishedCurrentTime = animation.currentTime; 196 var finishedCurrentTime = animation.currentTime;
197 return waitForAnimationFrames(1).then(function() { 197 return waitForAnimationFrames(1).then(function() {
198 assert_equals(animation.currentTime, finishedCurrentTime, 198 assert_equals(animation.currentTime, finishedCurrentTime,
199 'Current time does not change after seeking past the effect' 199 'Current time does not change after seeking past the effect'
200 + ' end time by setting the current time'); 200 + ' end time by setting the current time');
201 }); 201 });
202 }, 'Setting the start time updates the finished state'); 202 }, 'Setting the start time updates the finished state');
203 203
204 </script> 204 </script>
205 </body> 205 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698