mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
432a81c01e
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>
|