forked from mirrors/gecko-dev
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
25 lines
378 B
HTML
25 lines
378 B
HTML
<!DOCTYPE HTML>
|
|
<html>
|
|
<meta name="viewport" content="width=device-width">
|
|
<style>
|
|
html {
|
|
scrollbar-width: none;
|
|
}
|
|
#scrolled {
|
|
height: 2000px;
|
|
width: 100%;
|
|
}
|
|
#fixed {
|
|
width: 100%;
|
|
height: 200px;
|
|
position: fixed;
|
|
top: 0;
|
|
background: red;
|
|
margin-top: 50px;
|
|
}
|
|
</style>
|
|
<body>
|
|
<div id="scrolled"></div>
|
|
<div id="fixed"></div>
|
|
</body>
|
|
</html>
|