no-layout-containment-fixedpos.html (555B)
1 <!DOCTYPE html> 2 <title>Position fixed elements should propagate from a container-type subtree.</title> 3 <link rel="help" href="https://github.com/w3c/csswg-drafts/issues/10544#issuecomment-2248438355"> 4 <link rel="match" href="/css/reference/ref-filled-green-100px-square-only.html"> 5 <p>Test passes if there is a filled green square.</p> 6 <div style="contain: layout; width: 100px; height: 100px; background: red;"> 7 <div style="container-type: inline-size; height: 0;"> 8 <div style="position: fixed; inset: 0; background: green;"></div> 9 </div> 10 </div>