gecko-dev/layout/reftests/scrolling/transformed-1.html
Robert O'Callahan 6965db4c13 Bug 637852. Part 22: Detect when the contents of a ThebesLayer have shifted by a subpixel amount and repaint the entire layer when that happens. r=tnikkel
This fixes artifacts when we're scrolling inside scaled content, and includes a test for that (which fails without
this code change).
2011-06-23 00:11:28 +12:00

26 lines
755 B
HTML

<!DOCTYPE HTML>
<html>
<body>
<div class="scrollTop" style="height:100px; width:100px; overflow:hidden;
-moz-transform:scale(2.7); transform:scale(2.7); -moz-transform-origin:top left; transform-origin:top left;">
<div style="background:yellow;">
<div>Hello Kitty</div>
<div>Hello Kitty</div>
<div>Hello Kitty</div>
<div>Hello Kitty</div>
<div>Hello Kitty</div>
<div>Hello Kitty</div>
<div>Hello Kitty</div>
<div>Hello Kitty</div>
<div>Hello Kitty</div>
<div>Hello Kitty</div>
<div>Hello Kitty</div>
<div>Hello Kitty</div>
<div>Hello Kitty</div>
</div>
</div>
<script>document.body.getBoundingClientRect();</script>
<script src="scrolling.js"></script>
</body>
</html>