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

Side by Side Diff: LayoutTests/animations/transition-and-animation-1.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>Transition/Animation Test #1</title> 7 <title>Transition/Animation Test #1</title>
8 <style type="text/css" media="screen"> 8 <style type="text/css" media="screen">
9 #box { 9 #box {
10 position: absolute; 10 position: absolute;
(...skipping 14 matching lines...) Expand all
25 } 25 }
26 </style> 26 </style>
27 <script src="resources/animation-test-helpers.js" type="text/javascript" cha rset="utf-8"></script> 27 <script src="resources/animation-test-helpers.js" type="text/javascript" cha rset="utf-8"></script>
28 <script type="text/javascript" charset="utf-8"> 28 <script type="text/javascript" charset="utf-8">
29 29
30 const expectedValues = [ 30 const expectedValues = [
31 // [animation-name, time, element-id, property, expected-value, tolerance] 31 // [animation-name, time, element-id, property, expected-value, tolerance]
32 [null, 0.55, "box", "webkitTransform", "none", null], 32 [null, 0.55, "box", "webkitTransform", "none", null],
33 ]; 33 ];
34 34
35 runAnimationTest(expectedValues); 35 runAnimationTest(expectedValues, undefined, undefined, 'do-not-use-pause-api ');
36 36
37 </script> 37 </script>
38 </head> 38 </head>
39 <body> 39 <body>
40 This test has a transition and animation on the same property (-webkit-transform ). But the transition is never triggered, 40 This test has a transition and animation on the same property (-webkit-transform ). But the transition is never triggered,
41 so nothing should be moving when the animation finishes. 41 so nothing should be moving when the animation finishes.
42 <div id="box"> 42 <div id="box">
43 </div> 43 </div>
44 <div id="result"> 44 <div id="result">
45 </div> 45 </div>
46 </body> 46 </body>
47 </html> 47 </html>
OLDNEW
« no previous file with comments | « LayoutTests/animations/resources/animation-test-helpers.js ('k') | LayoutTests/animations/transition-and-animation-2.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698