Chromium Code Reviews| 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 top: 0; | 6 top: 0; |
| 7 left: 0; | 7 left: 0; |
| 8 width: 100px; | 8 width: 100px; |
| 9 height: 100px; | 9 height: 100px; |
| 10 background-color: blue; | 10 background-color: blue; |
| 11 -webkit-transition-property: -webkit-transform; | 11 -webkit-transition-property: -webkit-transform; |
|
alancutter (OOO until 2018)
2014/10/14 05:13:49
Need to change the transition property target as w
| |
| 12 -webkit-transition-duration: 2s; | 12 -webkit-transition-duration: 2s; |
| 13 -webkit-transform: translate(0, 0); | 13 transform: translate(0, 0); |
| 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() |
| 23 { | 23 { |
| (...skipping 22 matching lines...) Expand all Loading... | |
| 46 </script> | 46 </script> |
| 47 </head> | 47 </head> |
| 48 <body onload="startTest()"> | 48 <body onload="startTest()"> |
| 49 <p>Interrupted transition should not jump back to pre-transition transform</p> | 49 <p>Interrupted transition should not jump back to pre-transition transform</p> |
| 50 <div id="box" class="box"> | 50 <div id="box" class="box"> |
| 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 |