Build fix after r251567.
[WebKit-https.git] / LayoutTests / imported / w3c / web-platform-tests / css / css-animations / parsing / animation-timing-function-valid.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta charset="utf-8">
5 <title>CSS Animations: parsing animation-timing-function with valid values</title>
6 <link rel="help" href="https://drafts.csswg.org/css-animations/#propdef-animation-timing-function">
7 <meta name="assert" content="animation-timing-function supports the full grammar '<timing-function> #'.">
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_valid_value("animation-timing-function", "linear");
15
16 test_valid_value("animation-timing-function", "ease");
17 test_valid_value("animation-timing-function", "ease-in");
18 test_valid_value("animation-timing-function", "ease-out");
19 test_valid_value("animation-timing-function", "ease-in-out");
20 test_valid_value("animation-timing-function", "cubic-bezier(0.1, 0.2, 0.8, 0.9)");
21 test_valid_value("animation-timing-function", "cubic-bezier(0, -2, 1, 3)");
22 test_valid_value("animation-timing-function", "cubic-bezier(0, 0.7, 1, 1.3)");
23
24
25 test_valid_value("animation-timing-function", "steps(4, start)");
26 test_valid_value("animation-timing-function", "steps(2, end)", "steps(2)");
27 test_valid_value("animation-timing-function", "steps(2, jump-start)");
28 test_valid_value("animation-timing-function", "steps(2, jump-end)", "steps(2)");
29 test_valid_value("animation-timing-function", "steps(2, jump-both)");
30 test_valid_value("animation-timing-function", "steps(2, jump-none)");
31
32 test_valid_value("animation-timing-function", "linear, ease, linear");
33 </script>
34 </body>
35 </html>