| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <style> | 3 <style> |
| 4 html { | 4 html { |
| 5 -webkit-filter: brightness(1.1) contrast(120%); | 5 -webkit-filter: brightness(1.1) contrast(120%); |
| 6 } | 6 } |
| 7 #rect { | 7 #rect { |
| 8 background: red; | 8 background: red; |
| 9 width: 100px; | 9 width: 100px; |
| 10 height: 100px; | 10 height: 100px; |
| 11 } | 11 } |
| 12 </style> | 12 </style> |
| 13 </head> | 13 </head> |
| 14 <body> | 14 <body> |
| 15 <div id="rect"></div> | 15 <div id="rect"></div> |
| 16 </body> | 16 </body> |
| 17 <script> | 17 <script> |
| 18 function changeBackground() { | 18 function changeBackground() { |
| 19 document.getElementById("rect").style.background = "green"; | 19 document.getElementById("rect").style.background = "green"; |
| 20 } | 20 } |
| 21 | 21 |
| 22 if (window.testRunner) { | 22 if (window.testRunner) { |
| 23 testRunner.dumpAsText(true); | 23 testRunner.dumpAsTextWithPixelResults(); |
| 24 testRunner.display(); | 24 testRunner.display(); |
| 25 changeBackground(); | 25 changeBackground(); |
| 26 } else | 26 } else |
| 27 window.setTimeout(changeBackground, 250); | 27 window.setTimeout(changeBackground, 250); |
| 28 | 28 |
| 29 </script> | 29 </script> |
| 30 </html> | 30 </html> |
| OLD | NEW |