| -webkit-transition-duration: 0s, 0.5s; |
| -webkit-transition-timing-function: linear; |
| -webkit-transition-property: top, left; |
| <script src="resources/transition-test-helpers.js"></script> |
| <script type="text/javascript"> |
| // [time, element-id, property, expected-value, tolerance, post-completion callback, should-be-transitioning] |
| [0.25, "box", "left", 50, 10, null, shouldBeTransitioning], |
| [0.25, "box", "top", 100, 10, null, shouldNotBeTransitioning], |
| var box = document.getElementById('box'); |
| box.style.left = '100px'; |
| runTransitionTest(expectedValues, setupTest, usePauseAPI); |
| <p>Tests that with a zero duration transition on top, it does not animate</p> |