[Web Animations] Update WPT tests related to Web Animations and remove imported Mozil...
[WebKit-https.git] / LayoutTests / imported / w3c / web-platform-tests / css / css-transitions / parsing / transition-invalid.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta charset="utf-8">
5 <title>CSS Transitions: parsing transition with invalid values</title>
6 <link rel="help" href="https://drafts.csswg.org/css-transitions/#transition-shorthand-property">
7 <meta name="assert" content="transition supports only the grammar '<single-transition> #'.">
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 // <single-transition> = [ none | <single-transition-property> ] ||
15 // <time> || <easing-function> || <time>
16 test_invalid_value("transition", "1s 2s 3s");
17 test_invalid_value("transition", "-1s -2s");
18
19 test_invalid_value("transition", "steps(1) steps(2)");
20
21 test_invalid_value("transition", "none top");
22 </script>
23 </body>
24 </html>