tor-browser

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

clip-on-target-in-callback-2-ref.html (566B)


      1 <!DOCTYPE html>
      2 <title>View Transitions: Clip on target in callback does not clip root (Ref)</title>
      3 <meta name="viewport" content="width=device-width, initial-scale=1">
      4 
      5 <style>
      6 #container {
      7  width: 200px;
      8  height: 200px;
      9  background: blue;
     10  border: 5px solid black;
     11 }
     12 #target-inside {
     13  margin-top: 150px;
     14  width: 100px;
     15  height: 50px;
     16  background: green;
     17 }
     18 #target-outside {
     19  width: 100px;
     20  height: 50px;
     21  background-color: rgba(0, 128, 0, 0.5);
     22 }
     23 </style>
     24 
     25 <div id="container">
     26  <div id="target-inside"></div>
     27  <div id="target-outside"></div>
     28 </div>