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; }
9 <script src="../../resources/run-after-display.js"></script>
10 <script src="resources/text-based-repaint.js"></script>
12 if (window.testRunner) {
13 testRunner.waitUntilDone();
14 testRunner.dumpAsTextWithPixelResults();
17 window.onload = function()
19 window.scrollTo(0, 100);
20 runAfterDisplay(function() {
22 if (window.testRunner)
23 testRunner.notifyDone();
27 function repaintTest()
29 document.getElementById('moveMe').className = "fixed";
33 <body style="height:2000px;">
34 <!-- Repaint test for https://bugs.webkit.org/show_bug.cgi?id=64650: RenderLayer fixed position logic needs more basic testing -->
35 <!-- You should see no red on this page. -->
37 <tr><td></td><td></td></tr>
38 <tr><td class="red"></td><td id="moveMe"><div style="position: relative; left: -100px; top: 0px;" class="green"></div></td></tr>