2010-12-13 Gyuyoung Kim <gyuyoung.kim@samsung.com>
[WebKit-https.git] / LayoutTests / animations / animation-on-inline-crash.html
1 <style>
2     .box {
3       position: relative; 
4       -webkit-animation-delay: 5ms;
5       -webkit-animation-name: anim;
6     }
7     @-webkit-keyframes anim {
8       from { -webkit-transform: translateX(10px); }
9     }
10 </style>
11 <script type="text/javascript" charset="utf-8">
12     if (window.layoutTestController) {
13         layoutTestController.dumpAsText();
14         layoutTestController.waitUntilDone();
15     }
16     
17     function waitForAnimation()
18     {
19         window.setTimeout(function() {
20             if (window.layoutTestController)
21                 layoutTestController.notifyDone();
22         }, 50);
23     }
24     window.addEventListener('load', waitForAnimation, false);
25 </script>
26 <p>Test passes if it does not crash.</p>
27 <span class="box">Hello world</span>