OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 | 2 |
3 <html> | 3 <html> |
4 <head> | 4 <head> |
5 <style type="text/css" media="screen"> | 5 <style type="text/css" media="screen"> |
6 .box { | 6 .box { |
7 height: 100px; | 7 height: 100px; |
8 width: 100px; | 8 width: 100px; |
9 background-color: blue; | 9 background-color: blue; |
10 } | 10 } |
11 | 11 |
12 .spinning { | 12 .spinning { |
13 -webkit-animation: spin 2s infinite linear; | 13 -webkit-animation: spin 2s infinite linear; |
14 } | 14 } |
15 | 15 |
16 @-webkit-keyframes spin { | 16 @-webkit-keyframes spin { |
17 from { -webkit-transform: rotate(0); } | 17 from { transform: rotate(0); } |
18 to { -webkit-transform: rotate(360deg); } | 18 to { transform: rotate(360deg); } |
19 } | 19 } |
20 </style> | 20 </style> |
21 <script type="text/javascript" charset="utf-8"> | 21 <script type="text/javascript" charset="utf-8"> |
22 if (window.testRunner) { | 22 if (window.testRunner) { |
23 testRunner.dumpAsText(); | 23 testRunner.dumpAsText(); |
24 testRunner.waitUntilDone(); | 24 testRunner.waitUntilDone(); |
25 } | 25 } |
26 | 26 |
27 function doTest() | 27 function doTest() |
28 { | 28 { |
(...skipping 18 matching lines...) Expand all Loading... |
47 </head> | 47 </head> |
48 <body> | 48 <body> |
49 | 49 |
50 <div id="box" class="box"></div> | 50 <div id="box" class="box"></div> |
51 | 51 |
52 <!-- We should create layers, even on platforms that don't support accelerated
animation. --> | 52 <!-- We should create layers, even on platforms that don't support accelerated
animation. --> |
53 <div id="result">Test only works in DRT</div> | 53 <div id="result">Test only works in DRT</div> |
54 | 54 |
55 </body> | 55 </body> |
56 </html> | 56 </html> |
OLD | NEW |