OLD | NEW |
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 Loading... |
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> |
OLD | NEW |