OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <link rel="stylesheet" href="resources/default.css"> | 3 <link rel="stylesheet" href="resources/default.css"> |
4 <script src="resources/repaint.js"></script> | 4 <script src="resources/repaint.js"></script> |
5 <script> | 5 <script> |
6 if (window.testRunner) | 6 if (window.testRunner) |
7 testRunner.dumpAsText(true); | 7 testRunner.dumpAsTextWithPixelResults(); |
8 | 8 |
9 function repaintTest() | 9 function repaintTest() |
10 { | 10 { |
11 document.getElementById('t').style.position = "fixed"; | 11 document.getElementById('t').style.position = "fixed"; |
12 } | 12 } |
13 </script> | 13 </script> |
14 </head> | 14 </head> |
15 | 15 |
16 <body style="height:2000px;" onload="runRepaintTest()"> | 16 <body style="height:2000px;" onload="runRepaintTest()"> |
17 <!-- Repaint test for https://bugs.webkit.org/show_bug.cgi?id=64650: RenderL
ayer fixed position logic needs more basic testing --> | 17 <!-- Repaint test for https://bugs.webkit.org/show_bug.cgi?id=64650: RenderL
ayer fixed position logic needs more basic testing --> |
18 <!-- You should see no red on this page. --> | 18 <!-- You should see no red on this page. --> |
19 <div style="top: 200px;" class="red fixed"></div> | 19 <div style="top: 200px;" class="red fixed"></div> |
20 <div id="t" style="top: 200px;" class="green absolute"></div> | 20 <div id="t" style="top: 200px;" class="green absolute"></div> |
21 <script> | 21 <script> |
22 window.scrollTo(0, 500); | 22 window.scrollTo(0, 500); |
23 </script> | 23 </script> |
24 </body> | 24 </body> |
25 </html> | 25 </html> |
OLD | NEW |