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

Side by Side Diff: LayoutTests/web-animations-api/animationtimeline-consistent.html

Issue 847283004: Web Animations: Simplify mutable AnimationTimeline currentTime and playbackRate (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Invalidate compositor animations. Created 5 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/core/animation/AnimationTimeline.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script src="../resources/testharness.js"></script>
3 <script src="../resources/testharnessreport.js"></script>
4 <script>
5 var t = async_test('timeline.currentTime should be consistent despite 0 playback rate');
6
7 document.timeline.playbackRate = 0;
8 document.timeline.currentTime = 0;
9
10 requestAnimationFrame(function() {
11 setTimeout(function() {
12 t.step(function() {
13 document.timeline.currentTime = 100;
14 assert_approx_equals(document.timeline.currentTime, 100, 0.1);
15 });
16 t.done();
17 });
18 });
19 </script>
OLDNEW
« no previous file with comments | « no previous file | Source/core/animation/AnimationTimeline.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698