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