| <style type="text/css" media="screen"> |
| -webkit-animation: move 1s linear; |
| @-webkit-keyframes move { |
| <script src="resources/animation-test-helpers.js" type="text/javascript" charset="utf-8"></script> |
| <script type="text/javascript" charset="utf-8"> |
| testRunner.waitUntilDone(); |
| // [animation-name, time, element-id, property, expected-value, tolerance] |
| ["move", 0.5, "test", "left", 450, 8], |
| document.getElementById('test').className = 'animating box'; |
| runAnimationTest(expectedValues); |
| window.addEventListener('load', function() { |
| window.setTimeout(setupTest, 0); |
| <p>Box should animate from left of 400px to 500px.</p> |
| <div id="test" class="box"></div> |