tor-browser

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

outline-negative-offset-composited-scroll.html (634B)


      1 <!doctype html>
      2 <title>CSS-UI test: outline-offset width negative values on scroller</title>
      3 <link rel="match" href="../reference/ref-filled-green-100px-square.xht">
      4 <link rel=help href="https://drafts.csswg.org/css-ui-3/#outline-props">
      5 <style>
      6 #container {
      7  width: 100px;
      8  height: 100px;
      9  background: red;
     10  will-change: transform;
     11  overflow: scroll;
     12  outline: solid 50px green;
     13  outline-offset: -50px;
     14 }
     15 #child {
     16  position: relative;
     17  will-change: transform;
     18  height: 1000px;
     19 }
     20 </style>
     21 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
     22 <div id="container">
     23  <div id="child"></div>
     24 </div>