Files
tubestation/layout/reftests/async-scrolling/async-scroll-and-zoom-ref.html
Jamie Nicol eddcafe83e 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
2020-02-07 20:45:39 +00:00

25 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>