Build fix after r251567.
[WebKit-https.git] / LayoutTests / imported / w3c / web-platform-tests / css / css-animations / parsing / animation-invalid.html
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 anim");
22
23 test_invalid_value("animation", "both backwards anim");
24
25 test_invalid_value("animation", "paused running anim");
26
27 test_invalid_value("animation", "anim1 anim2");
28 </script>
29 </body>
30 </html>