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

21 lines
404 B
HTML

<!DOCTYPE html>
<title>Reference for sticky elements should invalidate when top/left/bottom/right changes</title>
<style>
.box {
/* Triggers promotion without creating stacking context. */
backface-visibility: hidden;
background: green;
position: sticky;
top: 200px;
width: 100px;
height: 100px;
}
.spacer {
height: 200vh;
}
</style>
<div class="box"></div>
<div class="spacer"></div>