Kill suspendAnimation(), resumeAnimation() and numberOfActiveAnimations() from DRT...
[WebKit-https.git] / LayoutTests / transitions / interrupted-accelerated-transition.html
1 <!DOCTYPE html>
2
3 <html>
4 <head>
5     <style>
6         #box {
7             display: inline-block;
8             width: 100px;
9             height: 100px;
10             margin: 10px;
11             background-color: blue;
12             -webkit-transition: -webkit-transform 10s;
13         }
14         
15         #box.rotated {
16             -webkit-transform: rotate(45deg);
17         }
18     </style>
19     <script>
20         if (window.testRunner) {
21             testRunner.dumpAsText();
22             testRunner.waitUntilDone();
23         }
24         function loaded()
25         {
26             var box = document.getElementById('box');
27             box.className = 'rotated box';
28             window.location = 'resources/interrupted-accelerated-transition-final.html';
29         }
30         window.addEventListener('load', loaded, false);
31     </script>
32 </head>
33 <!-- The unload handler keeps this page out of the page cache. -->
34 <body onunload="void(0)">
35     <div id="box"></div>
36 </body>
37 </html>