forked from mirrors/gecko-dev
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
24 lines
325 B
HTML
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>
|