tor-browser

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

1291528-ref.html (780B)


      1 <!DOCTYPE html>
      2 <html>
      3  <head>
      4    <title></title>
      5    <!--
      6      This CSS will hit the non-optimised linear gradient painting path, since
      7      the dirty rect of div.inner will be the same as the destination rect,
      8      making cellContainsFill true in PaintGradient() and skipping the optimised
      9      path.
     10    -->
     11    <style type="text/css">
     12      div.outer {
     13        border: 2px solid grey;
     14        padding: 0;
     15        height: 18.5px;
     16        width: 100px;
     17      }
     18 
     19      div.inner {
     20        margin: 0;
     21        padding: 0;
     22        border: 0;
     23        height: 18.5px;
     24        width: 100px;
     25        background: linear-gradient(to top, red, blue);
     26      }
     27    </style>
     28  </head>
     29  <body>
     30    <div class="outer">
     31      <div class="inner">
     32      </div>
     33    </div>
     34  </body>
     35 </html>