| -webkit-transition-property: opacity; |
| -webkit-transition-timing-function: linear; |
| -webkit-transition-duration: 5s; |
| background-color: orange; |
| testRunner.waitUntilDone(); |
| var container = document.getElementById('first'); |
| container.style.opacity = 1; |
| // dump the tree in the middle of the transition |
| if (testRunner.pauseTransitionAtTimeOnElementWithId) |
| window.setTimeout(function() { testRunner.pauseTransitionAtTimeOnElementWithId("opacity", 2.5, "first"); testRunner.notifyDone(); }, 0); |
| window.setTimeout(function() { testRunner.notifyDone(); }, 2500); |
| // FIXME: this should use runTransitionTest(). |
| window.addEventListener('load', runTest, false); |
| <div class="container" id="first"> |
| <div class="indicator"></div> |