1
0
Fork 0
firefox/testing/web-platform/tests/css/css-conditional/container-queries/no-layout-containment-fixedpos.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

10 lines
555 B
HTML

<!DOCTYPE html>
<title>Position fixed elements should propagate from a container-type subtree.</title>
<link rel="help" href="https://github.com/w3c/csswg-drafts/issues/10544#issuecomment-2248438355">
<link rel="match" href="/css/reference/ref-filled-green-100px-square-only.html">
<p>Test passes if there is a filled green square.</p>
<div style="contain: layout; width: 100px; height: 100px; background: red;">
<div style="container-type: inline-size; height: 0;">
<div style="position: fixed; inset: 0; background: green;"></div>
</div>
</div>