gecko-dev/layout/reftests/async-scrolling/async-scroll-and-zoom-ref.html
Jamie Nicol 1639434188 Bug 1613144 - Add reftest. r=botond
Add a reftest that would fail in webrender before the corresponding
fix landed.

Ensures that there is an async zoom and that both the layout and
visual viewports have async scroll offsets. To pass, we must apply
each of the layout and visual offsets in their correct coordinate
spaces.

Differential Revision: https://phabricator.services.mozilla.com/D61788

--HG--
extra : moz-landing-system : lando
2020-02-07 20:45:39 +00:00

24 lines
325 B
HTML

<!DOCTYPE html>
<html>
<head>
<style>
html {
scrollbar-width: none;
}
body {
height: 3000px;
margin: 0;
}
div {
position: absolute;
top: -100px;
width: 200px;
height: 200px;
background: green;
}
</style>
</head>
<body>
<div></div>
</body>
</html>