3 <link rel="stylesheet" href="resources/default.css">
5 table { top: 0px; left: 0px; border-spacing: 0px; position: absolute; }
6 td { background: green; padding: 0px; border-style: none; border: 0px; }
7 td.fixed { position: fixed; left: 100px; top: 0px; z-index: 3; }
9 <script src="resources/text-based-repaint.js"></script>
11 if (window.testRunner)
12 testRunner.dumpAsTextWithPixelResults();
14 function repaintTest()
16 document.getElementById('moveMe').className = "fixed";
20 <body style="height:2000px;" onload="runRepaintTest()">
21 <!-- Repaint test for https://bugs.webkit.org/show_bug.cgi?id=64650: RenderLayer fixed position logic needs more basic testing -->
22 <!-- You should see no red on this page. -->
24 <tr><td></td><td></td></tr>
25 <tr><td id="moveMe"></td><td class="red"><div class="green" style="position: relative; left: -100px; top: 0px;"></div></td></tr>
27 window.scrollTo(0, 100);