Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / ManualTests / transition-accelerated.html
blob54ac380764849c84172a68ec2d7b19966bfea833
1 <!DOCTYPE html>
3 <html>
4 <head>
5 <style type="text/css" media="screen">
6 .box {
7 position: relative;
8 height: 100px;
9 width: 100px;
10 margin: 10px;
11 background-color: blue;
14 .slow {
15 -webkit-animation: slow 2s infinite linear alternate;
18 .fast {
19 -webkit-animation: fast 2s infinite linear alternate;
22 @-webkit-keyframes slow {
23 from {
24 left: 0px;
26 to {
27 left: 400px;
31 @-webkit-keyframes fast {
32 from {
33 transform: translateX(0);
35 to {
36 transform: translateX(400px);
39 </style>
40 </head>
41 <body>
42 <p>The lower box should animate more smoothly than the upper one (on Mac).</p>
43 <div class="box slow"></div>
44 <div class="box fast"></div>
45 </body>
46 </html>