Build fix after r251567.
[WebKit-https.git] / LayoutTests / imported / w3c / web-platform-tests / css / css-animations / parsing / animation-duration-invalid.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta charset="utf-8">
5 <title>CSS Animations: parsing animation-duration with invalid values</title>
6 <link rel="help" href="https://drafts.csswg.org/css-animations/#propdef-animation-duration">
7 <meta name="assert" content="animation-duration supports only the grammar '<time> #'.">
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-duration", '-3s');
15 test_invalid_value("animation-duration", '0');
16 test_invalid_value("animation-duration", 'infinite');
17 test_invalid_value("animation-duration", '1s 2s');
18
19 test_invalid_value("animation-duration", 'initial, 1s');
20 test_invalid_value("animation-duration", '1s, initial');
21 </script>
22 </body>
23 </html>