tor-browser

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

appearance-animation-001.html (575B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>compute the kind of widget: author origin and animation origin</title>
      4 <link rel="match" href="appearance-transition-001-ref.html">
      5 <style>
      6  input {
      7    background-color: rgb(0, 0, 0);
      8  }
      9  .bg200 {
     10    animation: 1e10s steps(2, start) animate-bg;
     11  }
     12  @keyframes animate-bg {
     13    to {
     14      background-color: rgb(0, 200, 0);
     15    }
     16  }
     17 </style>
     18 <input value="text" id=input>
     19 <script>
     20  document.documentElement.offsetTop;
     21  input.classList.toggle('bg200');
     22 </script>
     23 <p>PASS if the input field has a dark green background</p>