REGRESSION (r230574): Interrupted hardware transitions don't behave correctly
[WebKit-https.git] / LayoutTests / transitions / hang-with-bad-transition-list.html
1 <html>
2 <head>
3   <style>
4     span {
5         background: blue;
6         color: white;
7         opacity: .666;
8         -webkit-transition: opacity, .25s, .15s ease-out;
9     }
10   </style>
11   <script>
12     function checkRunning()
13     {
14       var current = internals.numberOfActiveAnimations();
15       if (current == 0)
16         document.getElementById('result').innerHTML = "Number of active animations before transition is (0) as expected";
17       else
18         document.getElementById('result').innerHTML = "Number of active transitions is (" + current + ") but was expecting (0)";
19       testRunner.notifyDone();
20     }
21     
22     if (window.testRunner) {
23         testRunner.dumpAsText();
24         testRunner.waitUntilDone();
25         window.setTimeout(checkRunning, 300);            
26     }
27   </script>
28 </head>
29 <body>
30
31 <span id="doomSpan">If you can see this then we didn't hang!!!</span>
32
33 <script type="text/javascript" charset="utf-8">
34     document.getElementById("doomSpan").style.opacity=1;
35 </script>
36
37 <div id="result">
38 </div>
39 </body>
40 </html>