3 <title>Testing hang when running a bad transition
</title>
4 <style type=
"text/css" media=
"screen">
9 -webkit-transition: opacity,
.25s,
.15s ease-out;
12 <script type=
"text/javascript" charset=
"utf-8">
13 function checkRunning()
15 var current = layoutTestController.numberOfActiveAnimations();
17 document.getElementById('result').innerHTML =
"Number of active animations before transition is (0) as expected";
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);
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;