anchor-name-007.html (852B)
1 <!DOCTYPE html> 2 <title>An anchor inside three fixedpos containers should be acceptable for an anchor-positioned element on the outside</title> 3 <link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org"> 4 <link rel="help" href="https://issues.chromium.org/issues/428354426"> 5 <style> 6 #overlay { 7 position: fixed; 8 position-anchor: --a; 9 width: anchor-size(width); 10 height: anchor-size(height); 11 background: green; 12 } 13 </style> 14 <link rel="match" href="../reference/ref-filled-green-100px-square.xht"> 15 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 16 <div style="position:fixed;"> 17 <div style="position:fixed;"> 18 <div style="position:fixed;"> 19 <div style="anchor-name:--a; width:100px; height:100px; background:red;"></div> 20 </div> 21 </div> 22 </div> 23 <div id="overlay"></div>