| <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" |
| "http://www.w3.org/TR/html4/loose.dtd"> |
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| #container.moved .hardware { |
| -webkit-animation: move 300ms linear; |
| @-webkit-keyframes move { |
| <script type="text/javascript" charset="utf-8"> |
| if (window.layoutTestController) |
| layoutTestController.notifyDone(); |
| if (window.layoutTestController) |
| layoutTestController.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> |