1 <!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN"
2 "http://www.w3.org/TR/html4/loose.dtd">
6 <meta http-equiv=
"Content-Type" content=
"text/html; charset=utf-8">
12 border:
1px solid black;
19 background-color: green;
25 background-color: red;
28 #container.moved .hardware {
29 -webkit-animation: move
300ms linear;
32 @-webkit-keyframes move {
37 <script type=
"text/javascript" charset=
"utf-8">
41 if (window.layoutTestController)
42 layoutTestController.notifyDone();
47 if (window.layoutTestController)
48 layoutTestController.waitUntilDone();
50 document.getElementById('tester').addEventListener('webkitAnimationEnd', testEnded, false);
51 document.getElementById('container').className = 'moved';
54 window.addEventListener('load', startTest, false);
59 <p>At the end of the test the green box should obscure the red box.
</p>
61 <div class=
"indicator box"></div>
62 <div id=
"tester" class=
"hardware box"></div>