Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(197)

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/web-animations/resources/effect-easing-tests.js

Issue 2695813009: Import wpt@503f5b5f78ec4e87d144f78609f363f0ed0ea8db (Closed)
Patch Set: Skip some tests Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 var gEffectEasingTests = [
2 {
3 desc: 'step-start function',
4 easing: 'step-start',
5 easingFunction: stepStart(1),
6 serialization: 'steps(1, start)'
7 },
8 {
9 desc: 'steps(1, start) function',
10 easing: 'steps(1, start)',
11 easingFunction: stepStart(1)
12 },
13 {
14 desc: 'steps(2, start) function',
15 easing: 'steps(2, start)',
16 easingFunction: stepStart(2)
17 },
18 {
19 desc: 'step-end function',
20 easing: 'step-end',
21 easingFunction: stepEnd(1),
22 serialization: 'steps(1)'
23 },
24 {
25 desc: 'steps(1) function',
26 easing: 'steps(1)',
27 easingFunction: stepEnd(1)
28 },
29 {
30 desc: 'steps(1, end) function',
31 easing: 'steps(1, end)',
32 easingFunction: stepEnd(1),
33 serialization: 'steps(1)'
34 },
35 {
36 desc: 'steps(2, end) function',
37 easing: 'steps(2, end)',
38 easingFunction: stepEnd(2),
39 serialization: 'steps(2)'
40 },
41 {
42 desc: 'linear function',
43 easing: 'linear', // cubic-bezier(0, 0, 1.0, 1.0)
44 easingFunction: cubicBezier(0, 0, 1.0, 1.0)
45 },
46 {
47 desc: 'ease function',
48 easing: 'ease', // cubic-bezier(0.25, 0.1, 0.25, 1.0)
49 easingFunction: cubicBezier(0.25, 0.1, 0.25, 1.0)
50 },
51 {
52 desc: 'ease-in function',
53 easing: 'ease-in', // cubic-bezier(0.42, 0, 1.0, 1.0)
54 easingFunction: cubicBezier(0.42, 0, 1.0, 1.0)
55 },
56 {
57 desc: 'ease-in-out function',
58 easing: 'ease-in-out', // cubic-bezier(0.42, 0, 0.58, 1.0)
59 easingFunction: cubicBezier(0.42, 0, 0.58, 1.0)
60 },
61 {
62 desc: 'ease-out function',
63 easing: 'ease-out', // cubic-bezier(0, 0, 0.58, 1.0)
64 easingFunction: cubicBezier(0, 0, 0.58, 1.0)
65 },
66 {
67 desc: 'easing function which produces values greater than 1',
68 easing: 'cubic-bezier(0, 1.5, 1, 1.5)',
69 easingFunction: cubicBezier(0, 1.5, 1, 1.5)
70 }
71 ];
72
73 var gInvalidEasingTests = [
74 {
75 easing: ''
76 },
77 {
78 easing: 'test'
79 },
80 {
81 easing: 'cubic-bezier(1.1, 0, 1, 1)'
82 },
83 {
84 easing: 'cubic-bezier(0, 0, 1.1, 1)'
85 },
86 {
87 easing: 'cubic-bezier(-0.1, 0, 1, 1)'
88 },
89 {
90 easing: 'cubic-bezier(0, 0, -0.1, 1)'
91 },
92 {
93 easing: 'steps(-1, start)'
94 },
95 {
96 easing: 'steps(0.1, start)'
97 },
98 ];
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698