tor-browser

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

scroll-marker-group-layout-parent.html (711B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>CSS Overflow Test: ::scroll-marker-group has correct layout parent</title>
      4 <link rel="help" href="https://drafts.csswg.org/css-overflow-5/#scroll-marker-group">
      5 <link rel="match" href="../reference/ref-filled-green-100px-square.xht">
      6 <style>
      7  #sc {
      8    z-index: 1;
      9    overflow: hidden;
     10    scroll-marker-group: before;
     11    margin-left: -100px;
     12    width: 100px;
     13    height: 100px;
     14    background: red;
     15  }
     16  #sc::scroll-marker-group {
     17    z-index: 2;
     18    width: 100px;
     19    height: 100px;
     20    background: green;
     21  }
     22 </style>
     23 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
     24 <div style="display:flex;">
     25  <div id="sc"></div>
     26 </div>