OLD | NEW |
---|---|
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 | 2 |
3 <html> | 3 <html> |
4 <head> | 4 <head> |
5 <style> | 5 <style> |
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 -webkit-transition-property: -webkit-transform; | 10 -webkit-transition-property: -webkit-transform; |
alancutter (OOO until 2018)
2014/10/14 05:13:49
Need to change the transition property target as w
| |
11 -webkit-transition-duration: 3s; | 11 -webkit-transition-duration: 3s; |
12 -webkit-transform: translate(0, 0) rotate(0); | 12 transform: translate(0, 0) rotate(0); |
13 } | 13 } |
14 | 14 |
15 </style> | 15 </style> |
16 <script> | 16 <script> |
17 if (window.testRunner) { | 17 if (window.testRunner) { |
18 testRunner.dumpAsText(); | 18 testRunner.dumpAsText(); |
19 testRunner.waitUntilDone(); | 19 testRunner.waitUntilDone(); |
20 } | 20 } |
21 | 21 |
22 function test() | 22 function test() |
(...skipping 23 matching lines...) Expand all Loading... | |
46 </head> | 46 </head> |
47 <body> | 47 <body> |
48 <p>Box should start moving right, then move down</p> | 48 <p>Box should start moving right, then move down</p> |
49 <div id="box"> | 49 <div id="box"> |
50 </div> | 50 </div> |
51 | 51 |
52 <div id="result"> | 52 <div id="result"> |
53 </div> | 53 </div> |
54 </body> | 54 </body> |
55 </html> | 55 </html> |
OLD | NEW |