tor-browser

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

animation-iteration-count-002-manual.html (1376B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>CSS Animations Test: animation-iteration-count - infinite value</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-06 -->
      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-iteration-count">
     10 <meta name="flags" content="animated">
     11 <meta name="assert" content="When animation-iteration-count is set to infinite,
     12                             animation will repeat forever.">
     13 <style>
     14  div {
     15    animation-name: sample;
     16    animation-duration: 10s;
     17    animation-iteration-count: infinite;
     18 
     19    background-color: blue;
     20    height: 100px;
     21    width: 100px;
     22    position: relative;
     23  }
     24 
     25  @keyframes sample {
     26    from {
     27      left: 150px;
     28    }
     29    to {
     30      left: 0px;
     31    }
     32  }
     33 </style>
     34 <body>
     35  <p>
     36    Test passes if there is a filled square with 'Filler Text',
     37    which repeatedly moves from right to left. Every time a cycle is finished,
     38    the square gets re-positioned to right and continues to move left.
     39  </p>
     40  <div>Filler Text</div>
     41 </body>