tor-browser

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

scroll-markers-resize-crash.html (731B)


      1 <!DOCTYPE html>
      2 <html class="test-wait">
      3 <meta charset="utf-8">
      4 <title>CSS Test: ::scroll-markers don't crash on resize</title>
      5 <link rel="help" href="https://drafts.csswg.org/css-overflow-5/#scroll-marker-pseudo">
      6 <style>
      7  .carousel {
      8    overflow: auto;
      9    width: 501px;
     10    scroll-marker-group: after;
     11 
     12    &::scroll-marker-group {
     13      display: block;
     14    }
     15  }
     16 
     17  .item {
     18    width: 1000px;
     19    height: 285px;
     20 
     21    &::scroll-marker {
     22      content: "x";
     23    }
     24  }
     25 </style>
     26 <div id="wheee" class="carousel">
     27  <div class="item"></div>
     28  </ul>
     29  <script>
     30    document.body.offsetTop;
     31    wheee.scrollLeft = 100;
     32    wheee.style.width = "500px";
     33    document.documentElement.classList.remove("test-wait");
     34  </script>
     35 
     36 </html>