1
0
Fork 0
firefox/testing/web-platform/tests/css/CSS2/positioning/abspos-width-change-inline-container-001-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

26 lines
361 B
HTML

<!DOCTYPE html>
<style>
#container {
text-align: center;
width: 100px;
}
#relpos {
position: relative;
background: red;
}
#abspos {
position: absolute;
left: 0;
top: 0;
width: 50px;
height: 50px;
background: green;
}
</style>
<body>
<div id="container">
<span id="relpos">x
<span id="abspos"></span>
</span>
</div>
</body>