OLD | NEW |
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" | 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" |
2 "http://www.w3.org/TR/html4/loose.dtd"> | 2 "http://www.w3.org/TR/html4/loose.dtd"> |
3 | 3 |
4 <html lang="en"> | 4 <html lang="en"> |
5 <head> | 5 <head> |
6 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | 6 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
7 <style> | 7 <style> |
8 #container { | 8 #container { |
9 position: relative; | 9 position: relative; |
10 width: 400px; | 10 width: 400px; |
(...skipping 12 matching lines...) Expand all Loading... |
23 left: 0; | 23 left: 0; |
24 top: 0; | 24 top: 0; |
25 background-color: red; | 25 background-color: red; |
26 } | 26 } |
27 | 27 |
28 #container.moved .hardware { | 28 #container.moved .hardware { |
29 -webkit-animation: move 300ms linear; | 29 -webkit-animation: move 300ms linear; |
30 } | 30 } |
31 | 31 |
32 .hardware { | 32 .hardware { |
33 -webkit-transform: translate3d(0, 0, 0); | 33 transform: translate3d(0, 0, 0); |
34 } | 34 } |
35 | 35 |
36 @-webkit-keyframes move { | 36 @-webkit-keyframes move { |
37 from { -webkit-transform: translate3d(0, 0, 0); } | 37 from { transform: translate3d(0, 0, 0); } |
38 to { -webkit-transform: translate3d(300px, 0, 0); } | 38 to { transform: translate3d(300px, 0, 0); } |
39 } | 39 } |
40 </style> | 40 </style> |
41 <script type="text/javascript" charset="utf-8"> | 41 <script type="text/javascript" charset="utf-8"> |
42 | 42 |
43 function testEnded() | 43 function testEnded() |
44 { | 44 { |
45 if (window.testRunner) | 45 if (window.testRunner) |
46 testRunner.notifyDone(); | 46 testRunner.notifyDone(); |
47 } | 47 } |
48 | 48 |
(...skipping 15 matching lines...) Expand all Loading... |
64 <div id="container"> | 64 <div id="container"> |
65 <div class="indicator box"></div> | 65 <div class="indicator box"></div> |
66 <div id="tester" class="hardware box"></div> | 66 <div id="tester" class="hardware box"></div> |
67 </div> | 67 </div> |
68 | 68 |
69 <div id="result"> | 69 <div id="result"> |
70 </div> | 70 </div> |
71 | 71 |
72 </body> | 72 </body> |
73 </html> | 73 </html> |
OLD | NEW |