Allow FontCustomPlatformData to consult with FontDescription
[WebKit-https.git] / LayoutTests / animations / resources / anim.html
1 <style>
2 @-webkit-keyframes bounce {
3     from {
4         -webkit-transform: translate3d(0,0,0);
5     }
6     to {
7         -webkit-transform: translate3d(200px,0,0);
8     }
9 }
10
11 #animator {
12     position: relative;
13     top: 0px;
14     width: 100px;
15     height: 100px;
16     background-color: blue;
17     -webkit-animation-name: bounce;
18     -webkit-animation-duration: 80ms;
19     -webkit-animation-iteration-count: infinite;
20 }
21 </style>
22 <script>
23 function sawIterationInChild() {
24     // Tell our parent that we animated.
25     window.parent.sawIteration();
26 }
27
28 function startTest() {
29     var animator = document.getElementById("animator");
30     animator.addEventListener("webkitAnimationIteration", sawIterationInChild, false);
31 }
32 window.addEventListener("load", startTest, false);
33 </script>
34 <div id="animator"></div>