| <!DOCTYPE><!-- webkit-test-runner [ experimental:WebAnimationsCSSIntegrationEnabled=true ] --> |
| -webkit-transition: color 1s linear; |
| <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.4998, 'test', 'color', [127, 0, 128], 0], |
| [0.5000, 'test', 'color', [128, 0, 128], 0], |
| [0.5002, 'test', 'color', [128, 0, 127], 0], |
| document.getElementById('test').className = 'changed'; |
| runTransitionTest(expectedValues, setupTest, usePauseAPI); |
| This test will probably fail when run manually; it requires the pause API for accurate results. |