1
0
Fork 0
firefox/testing/web-platform/tests/css/CSS2/abspos/hypothetical-box-dynamic-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

23 lines
508 B
HTML

<!doctype html>
<title>CSS Test Reference</title>
<link rel="author" title="Emilio Cobos Álvarez" href="mailto:emilio@crisal.io">
<link rel="author" title="Mozilla" href="https://mozilla.org">
<style>
div {
font: 16px / 1 monospace;
text-align: center;
margin: 5px;
position: relative;
min-height: 30px;
}
span {
position: absolute;
}
</style>
<p>Should see two words at the same horizontal position below:</p>
<div>
<span>Foo</span>
</div>
<div>
<span>Foo</span>
</div>