| OLD | NEW |
| 1 <!-- Based on fast/repaint/fixed-scroll-simple.html --> | 1 <!-- Based on fast/repaint/fixed-scroll-simple.html --> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <link rel="stylesheet" href="../../../fast/repaint/resources/default.css"> | 4 <link rel="stylesheet" href="../../../fast/repaint/resources/default.css"> |
| 5 <script src="resources/paint-invalidation-test.js"></script> | 5 <script src="resources/paint-invalidation-test.js"></script> |
| 6 <script> | 6 <script> |
| 7 if (window.testRunner) | |
| 8 testRunner.dumpAsTextWithPixelResults(); | |
| 9 | |
| 10 window.expectedPaintInvalidationObjects = [ | |
| 11 "LayoutBlockFlow (positioned) DIV class='green'", | |
| 12 ]; | |
| 13 function paintInvalidationTest() | 7 function paintInvalidationTest() |
| 14 { | 8 { |
| 15 window.scrollTo(0, 100); | 9 window.scrollTo(0, 100); |
| 16 } | 10 } |
| 17 </script> | 11 </script> |
| 18 </head> | 12 </head> |
| 19 <body style="height:2000px;" onload="runPaintInvalidationTest()"> | 13 <body style="height:2000px;" onload="runPaintInvalidationTest()"> |
| 20 <!-- Repaint test for https://bugs.webkit.org/show_bug.cgi?id=64650: Layer f
ixed position logic needs more basic testing --> | 14 <!-- Repaint test for https://bugs.webkit.org/show_bug.cgi?id=64650: Layer f
ixed position logic needs more basic testing --> |
| 21 <!-- You should see no red on this page. --> | 15 <!-- You should see no red on this page. --> |
| 22 <div style="position: absolute; top: 200px;" class="red"></div> | 16 <div style="position: absolute; top: 200px;" class="red"></div> |
| 23 <div style="position: fixed; top: 100px;" class="green"></div> | 17 <div style="position: fixed; top: 100px;" class="green"></div> |
| 24 </body> | 18 </body> |
| 25 </html> | 19 </html> |
| OLD | NEW |