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

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/web-animations/resources/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
1 var gEffectEasingTests = [ 1 var gEasingTests = [
2 { 2 {
3 desc: 'step-start function', 3 desc: 'step-start function',
4 easing: 'step-start', 4 easing: 'step-start',
5 easingFunction: stepStart(1), 5 easingFunction: stepStart(1),
6 serialization: 'steps(1, start)' 6 serialization: 'steps(1, start)'
7 }, 7 },
8 { 8 {
9 desc: 'steps(1, start) function', 9 desc: 'steps(1, start) function',
10 easing: 'steps(1, start)', 10 easing: 'steps(1, start)',
11 easingFunction: stepStart(1) 11 easingFunction: stepStart(1)
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 }, 60 },
61 { 61 {
62 desc: 'ease-out function', 62 desc: 'ease-out function',
63 easing: 'ease-out', // cubic-bezier(0, 0, 0.58, 1.0) 63 easing: 'ease-out', // cubic-bezier(0, 0, 0.58, 1.0)
64 easingFunction: cubicBezier(0, 0, 0.58, 1.0) 64 easingFunction: cubicBezier(0, 0, 0.58, 1.0)
65 }, 65 },
66 { 66 {
67 desc: 'easing function which produces values greater than 1', 67 desc: 'easing function which produces values greater than 1',
68 easing: 'cubic-bezier(0, 1.5, 1, 1.5)', 68 easing: 'cubic-bezier(0, 1.5, 1, 1.5)',
69 easingFunction: cubicBezier(0, 1.5, 1, 1.5) 69 easingFunction: cubicBezier(0, 1.5, 1, 1.5)
70 },
71 {
72 desc: 'easing function which produces values less than 1',
73 easing: 'cubic-bezier(0, -0.5, 1, -0.5)',
74 easingFunction: cubicBezier(0, -0.5, 1, -0.5)
70 } 75 }
71 ]; 76 ];
72 77
73 var gInvalidEasingTests = [ 78 var gInvalidEasings = [
74 { 79 '',
75 easing: '' 80 'test',
76 }, 81 'cubic-bezier(1.1, 0, 1, 1)',
77 { 82 'cubic-bezier(0, 0, 1.1, 1)',
78 easing: 'test' 83 'cubic-bezier(-0.1, 0, 1, 1)',
79 }, 84 'cubic-bezier(0, 0, -0.1, 1)',
80 { 85 'steps(-1, start)',
81 easing: 'cubic-bezier(1.1, 0, 1, 1)' 86 'steps(0.1, start)'
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 ]; 87 ];
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698