| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <style type="text/css" media="screen"> | 3 <style type="text/css" media="screen"> |
| 4 .container { | 4 .container { |
| 5 height: 200px; | 5 height: 200px; |
| 6 width: 200px; | 6 width: 200px; |
| 7 background-color: green; | 7 background-color: green; |
| 8 -webkit-transform: translateZ(0); | 8 -webkit-transform: translateZ(0); |
| 9 } | 9 } |
| 10 | 10 |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 document.getElementById('tester').style.backgroundColor = 'red'; | 25 document.getElementById('tester').style.backgroundColor = 'red'; |
| 26 setTimeout(changeBackground2, 0); | 26 setTimeout(changeBackground2, 0); |
| 27 } | 27 } |
| 28 function changeBackground2() { | 28 function changeBackground2() { |
| 29 document.getElementById('tester').style.backgroundColor = 'green'; | 29 document.getElementById('tester').style.backgroundColor = 'green'; |
| 30 if (window.testRunner) | 30 if (window.testRunner) |
| 31 testRunner.notifyDone(); | 31 testRunner.notifyDone(); |
| 32 } | 32 } |
| 33 if (window.testRunner) { | 33 if (window.testRunner) { |
| 34 testRunner.waitUntilDone(); | 34 testRunner.waitUntilDone(); |
| 35 testRunner.dumpAsText(true); | 35 testRunner.dumpAsTextWithPixelResults(); |
| 36 } | 36 } |
| 37 window.addEventListener('load', doTest, false); | 37 window.addEventListener('load', doTest, false); |
| 38 </script> | 38 </script> |
| 39 </head> | 39 </head> |
| 40 <body> | 40 <body> |
| 41 <!-- this test should only display a green square --> | 41 <!-- this test should only display a green square --> |
| 42 <div class="container"> | 42 <div class="container"> |
| 43 <div id="tester"></div> | 43 <div id="tester"></div> |
| 44 </div> | 44 </div> |
| 45 </body> | 45 </body> |
| 46 </html> | 46 </html> |
| OLD | NEW |