tor-browser

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

animation-invalid.html (964B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <meta charset="utf-8">
      5 <title>CSS Animations: parsing animation with invalid values</title>
      6 <link rel="help" href="https://drafts.csswg.org/css-animations/#propdef-animation">
      7 <meta name="assert" content="animation supports only the grammar '<single-animation> #'.">
      8 <script src="/resources/testharness.js"></script>
      9 <script src="/resources/testharnessreport.js"></script>
     10 <script src="/css/support/parsing-testcommon.js"></script>
     11 </head>
     12 <body>
     13 <script>
     14 test_invalid_value("animation", "1s 2s 3s");
     15 test_invalid_value("animation", "-1s -2s");
     16 
     17 test_invalid_value("animation", "steps(1) steps(2)");
     18 
     19 test_invalid_value("animation", "1 2");
     20 
     21 test_invalid_value("animation", "reverse alternate alternate-reverse anim");
     22 
     23 test_invalid_value("animation", "both backwards forwards anim");
     24 
     25 test_invalid_value("animation", "paused running paused anim");
     26 
     27 test_invalid_value("animation", "anim1 timeline1 anim2");
     28 </script>
     29 </body>
     30 </html>