OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <style> | 3 <style> |
4 .box { | 4 .box { |
5 position: relative; | 5 position: relative; |
6 width: 100px; | 6 width: 100px; |
7 height: 100px; | 7 height: 100px; |
8 background-color: blue; | 8 background-color: blue; |
9 -webkit-transition-property: -webkit-transform; | 9 -webkit-transition-property: transform; |
10 -webkit-transition-duration: 5s; | 10 -webkit-transition-duration: 5s; |
11 -webkit-transform: translate(0, 0); | 11 transform: translate(0, 0); |
12 } | 12 } |
13 | 13 |
14 .moved { | 14 .moved { |
15 -webkit-transform: translateX(300px); | 15 transform: translateX(300px); |
16 } | 16 } |
17 </style> | 17 </style> |
18 <script> | 18 <script> |
19 if (window.testRunner) { | 19 if (window.testRunner) { |
20 testRunner.dumpAsText(); | 20 testRunner.dumpAsText(); |
21 testRunner.waitUntilDone(); | 21 testRunner.waitUntilDone(); |
22 } | 22 } |
23 | 23 |
24 function test() | 24 function test() |
25 { | 25 { |
(...skipping 19 matching lines...) Expand all Loading... |
45 </head> | 45 </head> |
46 <body onload="startTest()"> | 46 <body onload="startTest()"> |
47 <p>Box should start transition from style change on timer</p> | 47 <p>Box should start transition from style change on timer</p> |
48 <div id="container"> | 48 <div id="container"> |
49 <div id="box" class="box" onclick="this.className='redirected box'"> | 49 <div id="box" class="box" onclick="this.className='redirected box'"> |
50 </div> | 50 </div> |
51 </div> | 51 </div> |
52 <div id="result"> | 52 <div id="result"> |
53 </div> | 53 </div> |
54 </body> | 54 </body> |
55 </html> | 55 </html> |
OLD | NEW |