3 <title>Testing repeated firing of background-color transition
</title>
4 <style type=
"text/css" media=
"screen">
6 -webkit-transition: background-color
.15s linear;
9 background-color: hsla(
0,
50%,
50%,
1);
12 <script type=
"text/javascript" charset=
"utf-8">
13 function checkRunning()
15 var current = layoutTestController.numberOfActiveAnimations();
17 document.getElementById('result').innerHTML =
"Number of active transitions 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 <div id=
"foo">This should not be continually firing transitions
</span>
34 <script type=
"text/javascript" charset=
"utf-8">
35 document.getElementById(
"foo").
className=
"trans";