tor-browser

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

animation-duration-008-manual.html (1110B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>CSS Animations Test: animation-duration - ::after</title>
      4 <link rel="author" title="Intel" href="http://www.intel.com">
      5 <link rel="reviewer" title="Zhiqiang Zhang" href="mailto:zhiqiang.zhang@intel.com"> <!-- 2015-05-05 -->
      6 <link rel="help" href="https://drafts.csswg.org/css-animations-1/#animation-name">
      7 <link rel="help" href="https://drafts.csswg.org/css-animations-1/#animation-duration">
      8 <meta name="flags" content="animated">
      9 <meta name="assert" content="Check that animation-duration applies to the ::after pseudo element.">
     10 <style>
     11  div::after {
     12    animation-name: sample;
     13    animation-duration: 10s;
     14 
     15    background-color: blue;
     16    content: "Filler Text";
     17    display: block;
     18    height: 100px;
     19    width: 100px;
     20    position: relative;
     21  }
     22  @keyframes sample {
     23    from {
     24      left: 150px;
     25    }
     26    to {
     27      left: 0px;
     28    }
     29  }
     30 </style>
     31 <body>
     32  <p>
     33    Test passes if there is a filled blue square with 'Filler Text',
     34    which starts moving from right to left upon page load and lasts for a span of 10 seconds.
     35  </p>
     36  <div></div>
     37 </body>