Build fix after r251567.
[WebKit-https.git] / LayoutTests / imported / w3c / web-platform-tests / css / css-transitions / parsing / transition-timing-function-computed.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta charset="utf-8">
5 <title>CSS Animations: getComputedStyle().transitionTimingFunction</title>
6 <link rel="help" href="https://drafts.csswg.org/css-transitions/#propdef-transition-timing-function">
7 <meta name="assert" content="transition-timing-function computed value is a computed <easing-function> list.">
8 <script src="/resources/testharness.js"></script>
9 <script src="/resources/testharnessreport.js"></script>
10 <script src="/css/support/computed-testcommon.js"></script>
11 </head>
12 <body>
13 <div id="target"></div>
14 <script>
15 test_computed_value("transition-timing-function", "linear");
16 test_computed_value("transition-timing-function", "", "ease");
17 test_computed_value("transition-timing-function", "initial", "ease");
18
19 test_computed_value("transition-timing-function", "ease");
20 test_computed_value("transition-timing-function", "ease-in");
21 test_computed_value("transition-timing-function", "ease-out");
22 test_computed_value("transition-timing-function", "ease-in-out");
23 test_computed_value("transition-timing-function", "cubic-bezier(0.1, 0.2, 0.8, 0.9)");
24 test_computed_value("transition-timing-function", "cubic-bezier(0, -2, 1, 3)");
25 test_computed_value("transition-timing-function", "cubic-bezier(0, 0.7, 1, 1.3)");
26
27 test_computed_value("transition-timing-function", "step-start", "steps(1, start)");
28 test_computed_value("transition-timing-function", "step-end", "steps(1)");
29 test_computed_value("transition-timing-function", "steps(4)");
30 test_computed_value("transition-timing-function", "steps(4, start)");
31 test_computed_value("transition-timing-function", "steps(2, end)", "steps(2)");
32 test_computed_value("transition-timing-function", "steps(2, jump-start)");
33 test_computed_value("transition-timing-function", "steps(2, jump-end)", "steps(2)");
34 test_computed_value("transition-timing-function", "steps(2, jump-both)");
35 test_computed_value("transition-timing-function", "steps(2, jump-none)");
36
37 test_computed_value("transition-timing-function", "linear, ease, linear");
38 </script>
39 </body>
40 </html>