Rubber-stamped by Brady Eidson.
[webbrowser.git] / LayoutTests / transitions / hang-with-bad-transition-list.html
blob431258ae57bf2399f69ec7dfcbe4005fb1e873d5
1 <html>
2 <head>
3 <title>Testing hang when running a bad transition</title>
4 <style type="text/css" media="screen">
5 span {
6 background: blue;
7 color: white;
8 opacity: .666;
9 -webkit-transition: opacity, .25s, .15s ease-out;
11 </style>
12 <script type="text/javascript" charset="utf-8">
13 function checkRunning()
15 var current = layoutTestController.numberOfActiveAnimations();
16 if (current == 0)
17 document.getElementById('result').innerHTML = "Number of active animations before transition is (0) as expected";
18 else
19 document.getElementById('result').innerHTML = "Number of active transitions is (" + current + ") but was expecting (0)";
20 layoutTestController.notifyDone();
23 if (window.layoutTestController) {
24 layoutTestController.dumpAsText();
25 layoutTestController.waitUntilDone();
26 window.setTimeout(checkRunning, 300);
28 </script>
29 </head>
30 <body>
32 <span id="doomSpan">If you can see this then we didn't hang!!!</span>
34 <script type="text/javascript" charset="utf-8">
35 document.getElementById("doomSpan").style.opacity=1;
36 </script>
38 <div id="result">
39 </div>
40 </body>
41 </html>