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