tor-browser

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

961887-1.html (561B)


      1 <!DOCTYPE HTML>
      2 <title>Don't pull background colors of container layers through DrawAboveRegions of ThebesLayers</title>
      3 <style>
      4 
      5 #outer {
      6  transform: translateX(1px);
      7 }
      8 
      9 #above {
     10  position: absolute;
     11  top: 50px;
     12  left: 50px;
     13  width: 100px;
     14  height: 100px;
     15  border: 1px solid black;
     16 }
     17 
     18 </style>
     19 
     20 <div id="outer">
     21  <canvas id="canvas" height="100" width="200"></canvas>
     22  <div id="above"></div>
     23 </div>
     24 
     25 <script>
     26 var canvas = document.getElementById("canvas");
     27 var cx = canvas.getContext("2d");
     28 cx.fillStyle="lime";
     29 cx.fillRect(0, 0, 200, 100);
     30 </script>