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