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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/external/wpt/web-animations/resources/easing-tests.js
diff --git a/third_party/WebKit/LayoutTests/external/wpt/web-animations/resources/effect-easing-tests.js b/third_party/WebKit/LayoutTests/external/wpt/web-animations/resources/easing-tests.js
similarity index 81%
rename from third_party/WebKit/LayoutTests/external/wpt/web-animations/resources/effect-easing-tests.js
rename to third_party/WebKit/LayoutTests/external/wpt/web-animations/resources/easing-tests.js
index 49c4ff5b8c2e8a5d734502873c0302b7c4ef49ac..b983eaedcfd7e5e5ffa496f732fd476a8c8d4d10 100644
--- a/third_party/WebKit/LayoutTests/external/wpt/web-animations/resources/effect-easing-tests.js
+++ b/third_party/WebKit/LayoutTests/external/wpt/web-animations/resources/easing-tests.js
@@ -1,4 +1,4 @@
-var gEffectEasingTests = [
+var gEasingTests = [
{
desc: 'step-start function',
easing: 'step-start',
@@ -67,32 +67,21 @@ var gEffectEasingTests = [
desc: 'easing function which produces values greater than 1',
easing: 'cubic-bezier(0, 1.5, 1, 1.5)',
easingFunction: cubicBezier(0, 1.5, 1, 1.5)
+ },
+ {
+ desc: 'easing function which produces values less than 1',
+ easing: 'cubic-bezier(0, -0.5, 1, -0.5)',
+ easingFunction: cubicBezier(0, -0.5, 1, -0.5)
}
];
-var gInvalidEasingTests = [
- {
- easing: ''
- },
- {
- easing: 'test'
- },
- {
- easing: 'cubic-bezier(1.1, 0, 1, 1)'
- },
- {
- easing: 'cubic-bezier(0, 0, 1.1, 1)'
- },
- {
- easing: 'cubic-bezier(-0.1, 0, 1, 1)'
- },
- {
- easing: 'cubic-bezier(0, 0, -0.1, 1)'
- },
- {
- easing: 'steps(-1, start)'
- },
- {
- easing: 'steps(0.1, start)'
- },
+var gInvalidEasings = [
+ '',
+ 'test',
+ 'cubic-bezier(1.1, 0, 1, 1)',
+ 'cubic-bezier(0, 0, 1.1, 1)',
+ 'cubic-bezier(-0.1, 0, 1, 1)',
+ 'cubic-bezier(0, 0, -0.1, 1)',
+ 'steps(-1, start)',
+ 'steps(0.1, start)'
];

Powered by Google App Engine
This is Rietveld 408576698