mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-08 20:47:44 +00:00
6965db4c13
This fixes artifacts when we're scrolling inside scaled content, and includes a test for that (which fails without this code change).
26 lines
755 B
HTML
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>
|