Status: FAIL | Duration: 11ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-conditional/container-queries/no-layout-containment-fixedpos.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>
/css/reference/ref-filled-green-100px-square-only.html
<!DOCTYPE html> <link rel="author" title="Morten Stenshorne" href="mstensho@chromium.org"> <p>Test passes if there is a filled green square.</p> <div style="width:100px; height:100px; background:green;"></div>