10 border: 1px solid black;
17 background-color: green;
23 background-color: red;
26 #container.moved .hardware {
27 -webkit-animation: move 300ms linear;
30 @-webkit-keyframes move {
36 <script type="text/javascript">
39 if (window.layoutTestController)
40 layoutTestController.notifyDone();
45 if (window.layoutTestController)
46 layoutTestController.waitUntilDone();
48 document.getElementById('tester').addEventListener('webkitAnimationEnd', testEnded, false);
49 document.getElementById('container').className = 'moved';
52 window.addEventListener('load', startTest, false);
57 <p>At the end of the test the green box should obscure the red box.</p>
59 <div class="indicator box"></div>
60 <div id="tester" class="hardware box"></div>
63 <div id="result"></div>