fune/layout/reftests/async-scrolling/dynamic-toolbar-sticky-top-1-ref.html
Kris Taeleman 27155b6994 Bug 1610731 - Add more tests for position:fixed and position:sticky. r=botond
Note that the sticky-top test still fails on non-WebRender, but that's outside
the scope of this bug.

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

--HG--
rename : layout/reftests/async-scrolling/dynamic-toolbar-fixed-bottom-1.html => layout/reftests/async-scrolling/dynamic-toolbar-fixed-top-1.html
rename : layout/reftests/async-scrolling/dynamic-toolbar-fixed-bottom-1.html => layout/reftests/async-scrolling/dynamic-toolbar-sticky-bottom-1.html
rename : layout/reftests/async-scrolling/dynamic-toolbar-fixed-bottom-1.html => layout/reftests/async-scrolling/dynamic-toolbar-sticky-top-1.html
extra : moz-landing-system : lando
2020-04-04 06:16:43 +00:00

29 lines
463 B
HTML

<html>
<meta name="viewport" content="width=device-width">
<style>
html {
scrollbar-width: none;
}
#scrolled {
display: flex;
justify-content: space-around;
align-items: flex-start;
height: 2000px;
width: 100%;
}
#sticky {
width: 100%;
height: 200px;
position: sticky;
top: 70px;
background: red;
align-self: flex-start;
}
</style>
<body>
<div id="scrolled">
<div id="sticky"></div>
</div>
</body>
</html>