| -webkit-transition-property: -webkit-transform; |
| -webkit-transition-duration: 3s; |
| -webkit-transform: translate(0, 0) rotate(0); |
| testRunner.waitUntilDone(); |
| var c = new WebKitCSSMatrix(window.getComputedStyle(document.getElementById('box')).webkitTransform); |
| var result = (c.f < 200) ? 'PASS' : 'FAIL: transition should still be running, so y < 200'; |
| document.getElementById('result').innerHTML = result; |
| var box = document.getElementById('box'); |
| box.style.webkitTransform = 'translate(100px, 0) rotate(0)'; |
| window.setTimeout(function() { |
| box.style.webkitTransform = 'translate(0, 200px) rotate(10deg)'; |
| window.setTimeout(function() { |
| window.addEventListener('load', startTest, false) |
| <p>Box should start moving right, then move down</p> |