Files
tubestation/layout/reftests/async-scrolling/dynamic-toolbar-sticky-bottom-1-ref.html
Kris Taeleman 272294dbd3 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
2020-04-04 06:16:43 +00:00

30 lines
464 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;
bottom: 70px;
background: red;
align-self: flex-end;
}
</style>
<body>
<div id="scrolled">
<div id="sticky"></div>
</div>
</body>
</html>