1
0
Fork 0
firefox/testing/web-platform/tests/css/css-position/sticky/position-sticky-rtl-ref.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

32 lines
474 B
HTML

<!DOCTYPE html>
<style>
.container {
display: flex;
overflow: auto;
width: 500px;
position: relative;
}
.container {
scrollbar-width: none;
}
.child {
width: 1900px;
height: 100px;
flex-shrink: 0;
background: lightblue;
}
.sticky {
position: absolute;
left: 0;
width: 100px;
height: 100px;
flex-shrink: 0;
background: lightgreen;
}
</style>
<div class="container" dir="rtl">
<div class="child">1</div>
<div class="sticky">20</div>
</div>