| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <style> | 2 <style> |
| 3 html { background-color: white } | 3 body { -webkit-transition: background-color 1ms } |
| 4 body { -webkit-transition: background-color 1s } | |
| 5 #nomatch :last-child { color: green } | 4 #nomatch :last-child { color: green } |
| 6 </style> | 5 </style> |
| 7 <p>Pass if no assert or crash.</p> | 6 <p>Pass if no assert or crash.</p> |
| 8 <script> | 7 <script> |
| 8 if (window.testRunner) { |
| 9 testRunner.dumpAsText(); |
| 10 testRunner.waitUntilDone(); |
| 11 document.body.addEventListener("transitionend", function(){ testRunner.notif
yDone(); }, false); |
| 12 } |
| 9 document.body.offsetTop; | 13 document.body.offsetTop; |
| 10 document.body.style.backgroundColor = "white"; | 14 document.body.style.backgroundColor = "green"; |
| 11 </script> | 15 </script> |
| OLD | NEW |