| <style> |
| div#test { position: absolute; top: 0; left: 0; color: green; border: 50px solid; width: 0; -webkit-transition-duration: 1ms; } |
| div#test.orange { border-color: orange; } |
| </style> |
| <div style="position: relative; background-color: red; width: 100px; height: 100px;"> |
| <div id="test" class="orange"></div> |
| </div> |
| <script> |
| if (window.layoutTestController) |
| layoutTestController.waitUntilDone(); |
| document.getElementById("test").className = ""; |
| if (window.layoutTestController) |
| setTimeout("layoutTestController.notifyDone()", 100); |
| </script> |