| OLD | NEW |
| (Empty) |
| 1 <!-- Based on fast/repaint/fixed-table-overflow.html --> | |
| 2 <html> | |
| 3 <head> | |
| 4 <link rel="stylesheet" href="../../../fast/repaint/resources/default.css"> | |
| 5 <style> | |
| 6 table { top: 0px; left: 0px; border-spacing: 0px; position: absolute; } | |
| 7 td { background: green; padding: 0px; border-style: none; border: 0px; } | |
| 8 td.fixed { position: fixed; left: 100px; top: 0px; } | |
| 9 </style> | |
| 10 <script src="resources/paint-invalidation-test.js"></script> | |
| 11 <script> | |
| 12 window.onload = function() { | |
| 13 window.scrollTo(0, 100); | |
| 14 runPaintInvalidationTest(); | |
| 15 }; | |
| 16 | |
| 17 function paintInvalidationTest() | |
| 18 { | |
| 19 document.getElementById('moveMe').className = "fixed"; | |
| 20 } | |
| 21 </script> | |
| 22 </head> | |
| 23 <body style="height:2000px;"> | |
| 24 <!-- Repaint test for https://bugs.webkit.org/show_bug.cgi?id=64650: Layer f
ixed position logic needs more basic testing --> | |
| 25 <!-- You should see no red on this page. --> | |
| 26 <table> | |
| 27 <tr><td></td><td></td></tr> | |
| 28 <tr><td class="red"></td><td id="moveMe"><div style="position: relative;
left: -100px; top: 0px;" class="green"></div></td></tr> | |
| 29 </body> | |
| 30 </html> | |
| OLD | NEW |