| OLD | NEW |
| (Empty) |
| 1 <!-- Based on fast/repaint/fixed-after-scroll.html --> | |
| 2 <html> | |
| 3 <head> | |
| 4 <link rel="stylesheet" href="../../../fast/repaint/resources/default.css"> | |
| 5 <script src="resources/paint-invalidation-test.js"></script> | |
| 6 <script> | |
| 7 window.onload = function() { | |
| 8 window.scrollTo(0, 500); | |
| 9 runPaintInvalidationTest(); | |
| 10 }; | |
| 11 | |
| 12 function paintInvalidationTest() | |
| 13 { | |
| 14 document.getElementById('t').style.position = "fixed"; | |
| 15 } | |
| 16 </script> | |
| 17 </head> | |
| 18 | |
| 19 <body style="height:2000px;"> | |
| 20 <!-- 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. --> | |
| 22 <div style="top: 200px;" class="red fixed"></div> | |
| 23 <div id="t" style="top: 200px;" class="green absolute"></div> | |
| 24 </body> | |
| 25 </html> | |
| OLD | NEW |