tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

the-anchor-attribute-003-crash.tentative.html (695B)


      1 <!DOCTYPE html>
      2 <title>Tests that using the `anchor` attribute with inline containing block does not crash</title>
      3 <link rel="help" href="https://github.com/whatwg/html/pull/9144">
      4 <link rel="help" href="https://crbug.com/1486148">
      5 <link rel="author" href="mailto:xiaochengh@chromium.org">
      6 
      7 <style>
      8 .target {
      9  position: absolute;
     10  top: anchor(top);
     11  left: anchor(right);
     12 }
     13 </style>
     14 
     15 <div id="anchor">foo</div>
     16 
     17 <span style="position: relative">
     18  <div anchor="anchor2" class="target">bar</div>
     19 </span>
     20 
     21 <span style="position: sticky">
     22  <div anchor="anchor2" class="target">bar</div>
     23 </span>
     24 
     25 <span style="backdrop-filter: blur(1px)">
     26  <div anchor="anchor2" class="target">bar</div>
     27 </span>