2009-01-16 18:27:18 +00:00
|
|
|
<html>
|
|
|
|
<head>
|
2011-04-26 03:25:14 +00:00
|
|
|
<style>
|
2009-01-16 18:27:18 +00:00
|
|
|
span {
|
|
|
|
background: blue;
|
|
|
|
color: white;
|
|
|
|
opacity: .666;
|
|
|
|
-webkit-transition: opacity, .25s, .15s ease-out;
|
|
|
|
}
|
|
|
|
</style>
|
2011-04-26 03:25:14 +00:00
|
|
|
<script>
|
2009-01-16 18:27:18 +00:00
|
|
|
function checkRunning()
|
|
|
|
{
|
2013-02-05 04:21:13 +00:00
|
|
|
var current = internals.numberOfActiveAnimations();
|
2009-01-16 18:27:18 +00:00
|
|
|
if (current == 0)
|
|
|
|
document.getElementById('result').innerHTML = "Number of active animations before transition is (0) as expected";
|
|
|
|
else
|
|
|
|
document.getElementById('result').innerHTML = "Number of active transitions is (" + current + ") but was expecting (0)";
|
2012-06-16 03:42:58 +00:00
|
|
|
testRunner.notifyDone();
|
2009-01-16 18:27:18 +00:00
|
|
|
}
|
|
|
|
|
2012-06-16 03:42:58 +00:00
|
|
|
if (window.testRunner) {
|
|
|
|
testRunner.dumpAsText();
|
|
|
|
testRunner.waitUntilDone();
|
2009-01-16 18:27:18 +00:00
|
|
|
window.setTimeout(checkRunning, 300);
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
|
|
|
|
<span id="doomSpan">If you can see this then we didn't hang!!!</span>
|
|
|
|
|
|
|
|
<script type="text/javascript" charset="utf-8">
|
|
|
|
document.getElementById("doomSpan").style.opacity=1;
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<div id="result">
|
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|