tor-browser

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

animation-iteration-count-computed.html (834B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <meta charset="utf-8">
      5 <title>CSS Animations: getComputedStyle().animationIterationCount</title>
      6 <link rel="help" href="https://drafts.csswg.org/css-animations/#propdef-animation-iteration-count">
      7 <meta name="assert" content="animation-iteration-count computed value is as specified.">
      8 <script src="/resources/testharness.js"></script>
      9 <script src="/resources/testharnessreport.js"></script>
     10 <script src="/css/support/computed-testcommon.js"></script>
     11 <style>
     12  #container {
     13    container-type: inline-size;
     14    width: 100px;
     15  }
     16 </style>
     17 </head>
     18 <body>
     19 <div id="container">
     20  <div id="target"></div>
     21 </div>
     22 <script>
     23 test_computed_value("animation-iteration-count", "0, infinite, 3");
     24 test_computed_value("animation-iteration-count", "calc(10 + (sign(2cqw - 10px) * 5))", "5");
     25 </script>
     26 </body>
     27 </html>