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

Side by Side Diff: LayoutTests/animations/transition-and-animation-3.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> 1 <!DOCTYPE html>
2 2
3 <html> 3 <html>
4 <head> 4 <head>
5 <style type="text/css" media="screen"> 5 <style type="text/css" media="screen">
6 .box { 6 .box {
7 position: absolute; 7 position: absolute;
8 height: 100px; 8 height: 100px;
9 width: 100px; 9 width: 100px;
10 left: 0px; 10 left: 0px;
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 ]; 47 ];
48 48
49 function animationStarted() 49 function animationStarted()
50 { 50 {
51 document.getElementById('test').className = 'animating moved box'; 51 document.getElementById('test').className = 'animating moved box';
52 } 52 }
53 53
54 function setupTest() 54 function setupTest()
55 { 55 {
56 document.getElementById('test').className = 'animating box'; 56 document.getElementById('test').className = 'animating box';
57 runAnimationTest(expectedValues, animationStarted); 57 runAnimationTest(expectedValues, animationStarted, undefined, 'do-not-us e-pause-api');
58 } 58 }
59 59
60 window.addEventListener('load', function() { 60 window.addEventListener('load', function() {
61 window.setTimeout(setupTest, 0); 61 window.setTimeout(setupTest, 0);
62 }, false); 62 }, false);
63 63
64 </script> 64 </script>
65 </head> 65 </head>
66 <body> 66 <body>
67 <p>Once animation has finished, box should be running left transition from 1 00px to 200px.</p> 67 <p>Once animation has finished, box should be running left transition from 1 00px to 200px.</p>
68 <div id="test" class="box"></div> 68 <div id="test" class="box"></div>
69 <div id="result"></div> 69 <div id="result"></div>
70 </body> 70 </body>
71 </html> 71 </html>
OLDNEW
« no previous file with comments | « LayoutTests/animations/transition-and-animation-2.html ('k') | LayoutTests/animations/wrong-keyframe-name.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698