| <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!-- webkit-test-runner [ experimental:WebAnimationsCSSIntegrationEnabled=false ] --> |
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| #container.moved .hardware { |
| -webkit-animation: move 300ms linear; |
| -webkit-transform-style: preserve-3d; |
| -webkit-transform: translate3d(10px, 0, 0); |
| @-webkit-keyframes move { |
| from { -webkit-transform: translate3d(10px, 0, 0); } |
| to { -webkit-transform: translate3d(300px, 0, 0); } |
| <script type="text/javascript" charset="utf-8"> |
| testRunner.waitUntilDone(); |
| document.getElementById('tester').addEventListener('webkitAnimationEnd', testEnded, false); |
| document.getElementById('container').className = 'moved'; |
| window.addEventListener('load', startTest, false); |
| <p>At the end of the test the green box should obscure the red box.</p> |
| <div class="indicator box"></div> |
| <div id="tester" class="hardware box"></div> |