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

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

Issue 2212873003: W3C auto test importer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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
1 var gEffectEasingTests = [ 1 var gEffectEasingTests = [
2 { 2 {
3 desc: 'steps(start) function', 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',
4 easing: 'steps(2, start)', 15 easing: 'steps(2, start)',
5 easingFunction: stepStart(2) 16 easingFunction: stepStart(2)
6 }, 17 },
7 { 18 {
8 desc: 'steps(end) function', 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',
9 easing: 'steps(2, end)', 37 easing: 'steps(2, end)',
10 easingFunction: stepEnd(2) 38 easingFunction: stepEnd(2),
39 serialization: 'steps(2)'
11 }, 40 },
12 { 41 {
13 desc: 'linear function', 42 desc: 'linear function',
14 easing: 'linear', // cubic-bezier(0, 0, 1.0, 1.0) 43 easing: 'linear', // cubic-bezier(0, 0, 1.0, 1.0)
15 easingFunction: cubicBezier(0, 0, 1.0, 1.0) 44 easingFunction: cubicBezier(0, 0, 1.0, 1.0)
16 }, 45 },
17 { 46 {
18 desc: 'ease function', 47 desc: 'ease function',
19 easing: 'ease', // cubic-bezier(0.25, 0.1, 0.25, 1.0) 48 easing: 'ease', // cubic-bezier(0.25, 0.1, 0.25, 1.0)
20 easingFunction: cubicBezier(0.25, 0.1, 0.25, 1.0) 49 easingFunction: cubicBezier(0.25, 0.1, 0.25, 1.0)
(...skipping 12 matching lines...) Expand all
33 desc: 'ease-out function', 62 desc: 'ease-out function',
34 easing: 'ease-out', // cubic-bezier(0, 0, 0.58, 1.0) 63 easing: 'ease-out', // cubic-bezier(0, 0, 0.58, 1.0)
35 easingFunction: cubicBezier(0, 0, 0.58, 1.0) 64 easingFunction: cubicBezier(0, 0, 0.58, 1.0)
36 }, 65 },
37 { 66 {
38 desc: 'easing function which produces values greater than 1', 67 desc: 'easing function which produces values greater than 1',
39 easing: 'cubic-bezier(0, 1.5, 1, 1.5)', 68 easing: 'cubic-bezier(0, 1.5, 1, 1.5)',
40 easingFunction: cubicBezier(0, 1.5, 1, 1.5) 69 easingFunction: cubicBezier(0, 1.5, 1, 1.5)
41 } 70 }
42 ]; 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