tor-browser

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

transition-property-022-manual.html (1281B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>CSS Transitions Test: transition-property - letter-spacing</title>
      4 <link rel="author" title="Intel" href="http://www.intel.com">
      5 <link rel="author" title="Shiyou Tan" href="mailto:shiyoux.tan@intel.com">
      6 <link rel="help" href="https://drafts.csswg.org/web-animations-1/#animation-type">
      7 <link rel="help" href="https://drafts.csswg.org/css-text-3/#letter-spacing-property">
      8 <meta name="flags" content="ahem">
      9 <meta name="assert" content="Test checks that the 'letter-spacing' property is animatable.">
     10 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
     11 <style>
     12  #test {
     13    font-family: ahem;
     14    letter-spacing: 0px;
     15    transition-duration: 4s;
     16    transition-property: letter-spacing;
     17    transition-timing-function: linear;
     18  }
     19 </style>
     20 <body>
     21  <p>Click the black rectangle below. Test passes if the black rectangle splits into ten little squares and the spacing between little squares increases gradually not immediately until it stops.</p>
     22  <div id="test">FillerText</div>
     23  <script>
     24    (function() {
     25      var test = document.querySelector("#test");
     26      test.addEventListener("click", function(evt) {
     27        test.setAttribute("style", "letter-spacing: 20px;");
     28      }, false);
     29    })();
     30  </script>
     31 </body>