tor-browser

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

animation-timing-function-006-manual.html (1357B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>CSS Animations Test: animation-timing-function - linear</title>
      4 <link rel="author" title="Nokia Inc." href="http://www.nokia.com">
      5 <link rel="author" title="Intel" href="http://www.intel.com">
      6 <link rel="reviewer" title="Zhiqiang Zhang" href="mailto:zhiqiang.zhang@intel.com"> <!-- 2015-05-07 -->
      7 <link rel="help" href="https://drafts.csswg.org/css-animations-1/#animation-name">
      8 <link rel="help" href="https://drafts.csswg.org/css-animations-1/#animation-duration">
      9 <link rel="help" href="https://drafts.csswg.org/css-animations-1/#animation-timing-function">
     10 <meta name="flags" content="animated">
     11 <meta name="assert" content="When animation-timing-function is set to linear,
     12                             animation will progress over one cycle of its duration
     13                             with constant speed.">
     14 <style>
     15  div {
     16    animation-name: sample;
     17    animation-duration: 10s;
     18    animation-timing-function: linear;
     19 
     20    background-color: blue;
     21    height: 100px;
     22    width: 100px;
     23    position: relative;
     24  }
     25 
     26  @keyframes sample {
     27    from {
     28      left: 150px;
     29    }
     30    to {
     31      left: 0px;
     32    }
     33  }
     34 </style>
     35 <body>
     36  <p>
     37    Test passes if there is a filled blue square with 'Filler Text',
     38    which starts moving from right to left with constant speed.
     39  </p>
     40  <div>Filler Text</div>
     41 </body>