| -webkit-transition-property: left; |
| -webkit-transition-duration: 4s; |
| -webkit-transition-timing-function: linear; |
| -webkit-transition-delay: 1s; |
| <script src="resources/transition-test-helpers.js"></script> |
| var target = document.getElementById('target'); |
| internals.pauseTransitionAtTimeOnElement("left", 2.0, target); |
| var left = window.getComputedStyle(target).left; |
| result = "FAIL - expected 125px got " + left; |
| document.getElementById('result').innerHTML = "<p>" + result + "</p>"; |
| testRunner.waitUntilDone(); |
| document.getElementById("target").className = "moved"; |
| waitForAnimationStart(endTest, 1); |
| <body onload="startTest()"> |
| <h1>Test for transition delay on testRunner API</h1> |
| <p>This test works only in DumpRenderTree. It uses an API exposed |
| only there to jump to a particular time in a running transition. |
| Tests bug <a href="https://bugs.webkit.org/show_bug.cgi?id=22368">22368</a> |