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

Side by Side Diff: LayoutTests/animations/change-one-anim.html

Issue 14556022: Simplify animation testing API (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 7 years, 7 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
OLDNEW
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
2 "http://www.w3.org/TR/html4/loose.dtd"> 2 "http://www.w3.org/TR/html4/loose.dtd">
3 3
4 <html lang="en"> 4 <html lang="en">
5 <head> 5 <head>
6 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 6 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
7 <title>Animation using matrix()</title> 7 <title>Animation using matrix()</title>
8 <style type="text/css" media="screen"> 8 <style type="text/css" media="screen">
9 #box { 9 #box {
10 position: relative; 10 position: relative;
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 var left = window.getComputedStyle(target).left; 42 var left = window.getComputedStyle(target).left;
43 target.style.webkitAnimationName = "vert"; 43 target.style.webkitAnimationName = "vert";
44 target.style.left = left; 44 target.style.left = left;
45 } 45 }
46 46
47 function setup() 47 function setup()
48 { 48 {
49 setTimeout("removeAnim()", 500); 49 setTimeout("removeAnim()", 500);
50 } 50 }
51 51
52 runAnimationTest(expectedValues, setup); 52 runAnimationTest(expectedValues, setup, undefined, 'do-not-use-pause-api ');
53 </script> 53 </script>
54 </head> 54 </head>
55 <body> 55 <body>
56 This test performs two animations, left and top. It animates over 1 second. 56 This test performs two animations, left and top. It animates over 1 second.
57 At 0.5 second it removes the left animation and the top animation should continu e 57 At 0.5 second it removes the left animation and the top animation should continu e
58 from where it left off. 58 from where it left off.
59 <div id="box"> 59 <div id="box">
60 </div> 60 </div>
61 <div id="result"> 61 <div id="result">
62 </div> 62 </div>
63 </body> 63 </body>
64 </html> 64 </html>
OLDNEW
« no previous file with comments | « LayoutTests/animations/change-keyframes-name-expected.txt ('k') | LayoutTests/animations/empty-keyframe-animation.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698