4 -webkit-animation: test 10ms;
5 -webkit-animation-delay: -10ms;
7 @-webkit-keyframes test {
11 <div id="test">FAIL</div>
13 if (window.testRunner) {
14 testRunner.dumpAsText();
15 testRunner.waitUntilDone();
18 // This test covers a specific regression where an on-demand timing update
19 // that was triggered after an animation received a start time could cause
20 // CSS Animation and Transition events to not be fired on the subseuquent
21 // animation-frame timing update.
22 test.classList.add('animated');
23 test.addEventListener('webkitAnimationStart', function() {
24 document.documentElement.textContent = 'PASS';
25 if (window.testRunner)
26 testRunner.notifyDone();
28 requestAnimationFrame(function() {
29 setTimeout(function() {
30 getComputedStyle(test).left;