OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <title>Pause and resume animation should not crash</title> | 3 <title>Pause and resume animation should not crash</title> |
4 <style type="text/css" media="screen"> | 4 <style type="text/css" media="screen"> |
5 .box { | 5 .box { |
6 height: 100px; | 6 height: 100px; |
7 width: 100px; | 7 width: 100px; |
8 margin: 10px; | 8 margin: 10px; |
9 background-color: blue; | 9 background-color: blue; |
10 -webkit-animation-duration: 2s; | 10 -webkit-animation-duration: 2s; |
11 -webkit-animation-direction: alternate; | 11 -webkit-animation-direction: alternate; |
12 -webkit-animation-iteration-count: infinite; | 12 -webkit-animation-iteration-count: infinite; |
13 } | 13 } |
14 | 14 |
15 @-webkit-keyframes anim { | 15 @-webkit-keyframes anim { |
16 from { -webkit-transform: matrix3d(1,0,0,0, 0,1,0,0, 0,0,1,0, 0,0,0,1);
} | 16 from { transform: matrix3d(1,0,0,0, 0,1,0,0, 0,0,1,0, 0,0,0,1); } |
17 to { -webkit-transform: matrix3d(1,0,0,0, 0,1,0,0, 0,0,1,0, 400,0,0,1)
; } | 17 to { transform: matrix3d(1,0,0,0, 0,1,0,0, 0,0,1,0, 400,0,0,1); } |
18 } | 18 } |
19 </style> | 19 </style> |
20 <script type="text/javascript" charset="utf-8"> | 20 <script type="text/javascript" charset="utf-8"> |
21 if (window.testRunner) { | 21 if (window.testRunner) { |
22 testRunner.dumpAsText(); | 22 testRunner.dumpAsText(); |
23 testRunner.waitUntilDone(); | 23 testRunner.waitUntilDone(); |
24 } | 24 } |
25 | 25 |
26 function animationStarted() | 26 function animationStarted() |
27 { | 27 { |
(...skipping 22 matching lines...) Expand all Loading... |
50 <body> | 50 <body> |
51 | 51 |
52 <p>Tests pause and resume animation. Should not crash. (https://bugs.webkit.org/
show_bug.cgi?id=67510)</p> | 52 <p>Tests pause and resume animation. Should not crash. (https://bugs.webkit.org/
show_bug.cgi?id=67510)</p> |
53 | 53 |
54 <div id="container"> | 54 <div id="container"> |
55 <div id="box1" class="box"></div> | 55 <div id="box1" class="box"></div> |
56 </div> | 56 </div> |
57 <div id="results"></div> | 57 <div id="results"></div> |
58 </body> | 58 </body> |
59 </html> | 59 </html> |
OLD | NEW |