OLD | NEW |
(Empty) | |
| 1 <html> |
| 2 <head> |
| 3 <title></title> |
| 4 <link rel="stylesheet" href="../../../fast/repaint/resources/default.css"></
style> |
| 5 <script type="text/javascript"> |
| 6 window.onload = function() { |
| 7 window.scrollTo(1000, 1000); |
| 8 var moveMeElement = document.getElementById('moveMe'); |
| 9 moveMeElement.scrollTop = 100; |
| 10 moveMeElement.scrollLeft = 150; |
| 11 }; |
| 12 </script> |
| 13 </head> |
| 14 <body style="height:2000px;"> |
| 15 <!-- You should see 1 green rectangle in the output and no red. --> |
| 16 <div id="moveMe" style="top: 150px; left: 100px" class="fixed clipped"><div
class="absolute green" style="top: 100px; left: 150px;"></div></div> |
| 17 </body> |
| 18 </html> |
OLD | NEW |