gecko-dev/layout/reftests/async-scrolling/position-sticky-async-zoom-2-ref.html
Kashav Madan 98a6e0b59f Bug 1465616 - Add async-scroll reftests. r=botond
The first set of tests test that fixed/sticky position elements are no longer
attached to the visual viewport (i.e., that they go "out of view" when the
visual viewport is scrolled) and the second set of tests test that
fixed/sticky position elements are attached to the layout viewport (i.e., that
they "follow" the layout viewport when it's scrolled).

MozReview-Commit-ID: 6H2f0oz9lW7

--HG--
extra : rebase_source : c6e1beebe58883c0e500c28d579eb187c2cc8ea1
2018-07-20 17:48:30 -04:00

24 lines
371 B
HTML

<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=2.0">
<style>
body {
height: 3000px;
margin: 0;
overflow: hidden;
}
div {
position: absolute;
top: 0;
width: 100px;
height: 100px;
background: green;
}
</style>
</head>
<body>
<div></div>
</body>
</html>