| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="../../fast/repaint/resources/text-based-repaint.js"></script> | 4 <script src="../../fast/repaint/resources/text-based-repaint.js"></script> |
| 5 <style> | 5 <style> |
| 6 .main { | 6 .main { |
| 7 position: fixed; | 7 position: fixed; |
| 8 top: 100px; | 8 top: 100px; |
| 9 left: 100px; | 9 left: 100px; |
| 10 width: 200px; | 10 width: 200px; |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 </style> | 24 </style> |
| 25 <script> | 25 <script> |
| 26 if (window.internals) | 26 if (window.internals) |
| 27 internals.settings.setPreferCompositingToLCDTextEnabled(false); | 27 internals.settings.setPreferCompositingToLCDTextEnabled(false); |
| 28 | 28 |
| 29 function repaintTest() { | 29 function repaintTest() { |
| 30 window.scrollTo(0, 100); | 30 window.scrollTo(0, 100); |
| 31 } | 31 } |
| 32 </script> | 32 </script> |
| 33 </head> | 33 </head> |
| 34 <body style="height:2000px" onload="runRepaintTest()"> | 34 <body style="height:2000px" onload="runRepaintAndPixelTest()"> |
| 35 <div class="main"></div> | 35 <div class="main"></div> |
| 36 <div class="squahed"></div> | 36 <div class="squahed"></div> |
| 37 </body> | 37 </body> |
| 38 </html> | 38 </html> |
| OLD | NEW |