| -webkit-transition-duration: 1s; |
| -webkit-transition-property: left; |
| -webkit-transition-property: -webkit-transform; |
| -webkit-transform: translateX(400px); |
| <script src="resources/transition-test-helpers.js"></script> |
| // [time, element-id, property, expected-value, tolerance] |
| [0.5, 'box', 'left', 322, 5], |
| [0.5, 'box2', '-webkit-transform.4', 322, 5], |
| document.getElementById('box').className = 'box final'; |
| document.getElementById('box2').className = 'box final'; |
| runTransitionTest(expectedValues, setupTest, usePauseAPI, doPixelTest); |
| <!-- The pixel result should show a green bar, with no red visible. --> |
| <div id="indicator" class="box"></div> |
| <div id="box" class="box"></div> |
| <div id="box2" class="box"></div> |