| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <link rel="stylesheet" href="resources/default.css"> | 3 <link rel="stylesheet" href="resources/default.css"> |
| 4 <script src="resources/repaint.js"></script> | 4 <script src="resources/repaint.js"></script> |
| 5 <script> | 5 <script> |
| 6 if (window.testRunner) | 6 if (window.testRunner) |
| 7 testRunner.dumpAsText(true); | 7 testRunner.dumpAsTextWithPixelResults(); |
| 8 | 8 |
| 9 function repaintTest() | 9 function repaintTest() |
| 10 { | 10 { |
| 11 window.scrollTo(0, 100); | 11 window.scrollTo(0, 100); |
| 12 } | 12 } |
| 13 </script> | 13 </script> |
| 14 </head> | 14 </head> |
| 15 <body style="height:2000px;" onload="runRepaintTest()"> | 15 <body style="height:2000px;" onload="runRepaintTest()"> |
| 16 <!-- Repaint test for https://bugs.webkit.org/show_bug.cgi?id=64650: RenderL
ayer fixed position logic needs more basic testing --> | 16 <!-- Repaint test for https://bugs.webkit.org/show_bug.cgi?id=64650: RenderL
ayer fixed position logic needs more basic testing --> |
| 17 <!-- You should see no red on this page. --> | 17 <!-- You should see no red on this page. --> |
| 18 <div style="position: absolute; top: 200px;" class="red"></div> | 18 <div style="position: absolute; top: 200px;" class="red"></div> |
| 19 <div style="position: fixed; top: 100px;" class="green"></div> | 19 <div style="position: fixed; top: 100px;" class="green"></div> |
| 20 </body> | 20 </body> |
| 21 </html> | 21 </html> |
| OLD | NEW |