1
0
Fork 0
firefox/layout/reftests/position-sticky/fixed-inside-sticky-clip.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

29 lines
405 B
HTML

<!DOCTYPE html>
<style>
.scroll {
overflow: scroll;
scrollbar-width: none;
width: 100px;
height: 100px;
}
.spacer {
height: 200%;
width: 100%;
}
.sticky {
position: sticky;
}
.fixed {
position: fixed;
height: 100px;
width: 200px;
background: cyan;
}
</style>
<div class="scroll">
<div class="sticky">
<div class="fixed">
</div>
</div>
<div class="spacer"></div>
</div>