tor-browser

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

appearance-animation-002.html (514B)


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