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

Unified Diff: third_party/WebKit/LayoutTests/imported/wpt/web-animations/resources/keyframe-utils.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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/imported/wpt/web-animations/resources/keyframe-utils.js
diff --git a/third_party/WebKit/LayoutTests/imported/wpt/web-animations/resources/keyframe-utils.js b/third_party/WebKit/LayoutTests/imported/wpt/web-animations/resources/keyframe-utils.js
index 5278ad5fd305ff4a9ff99ddbcfe8ada8fdc264f4..626f0bffb0c8554a4cc72829ed68997dfdc9f4d9 100644
--- a/third_party/WebKit/LayoutTests/imported/wpt/web-animations/resources/keyframe-utils.js
+++ b/third_party/WebKit/LayoutTests/imported/wpt/web-animations/resources/keyframe-utils.js
@@ -257,6 +257,10 @@ var gKeyframeSequenceTests = [
input: [{ left: "10px" }],
output: [{ offset: null, computedOffset: 1, easing: "linear",
left: "10px" }] },
+ { desc: "a single keyframe sequence with string offset",
+ input: [{ offset: '0.5', left: "10px" }],
+ output: [{ offset: 0.5, computedOffset: 1, easing: "linear",
+ left: "10px" }] },
{ desc: "a one property keyframe sequence with some omitted offsets",
input: [{ offset: 0.00, left: "10px" },
{ offset: 0.25, left: "20px" },
@@ -321,9 +325,9 @@ var gKeyframeSequenceTests = [
left: "30px" },
{ offset: 0.5, computedOffset: 0.5, easing: "linear",
top: "40px" },
- { offset: 1.0, computedOffset: 1.0, easing: "step-end",
+ { offset: 1.0, computedOffset: 1.0, easing: "steps(1)",
left: "50px" },
- { offset: 1.0, computedOffset: 1.0, easing: "step-end",
+ { offset: 1.0, computedOffset: 1.0, easing: "steps(1)",
top: "60px" }] },
{ desc: "a keyframe sequence with different composite values, but the"
+ " same composite value for a given offset",
@@ -432,7 +436,7 @@ var gKeyframeSequenceTests = [
left: "300px" },
{ offset: 1.0, computedOffset: 1.0, easing: "ease-out",
left: "400px" },
- { offset: 1.0, computedOffset: 1.0, easing: "step-end",
+ { offset: 1.0, computedOffset: 1.0, easing: "steps(1)",
left: "500px" }] },
];

Powered by Google App Engine
This is Rietveld 408576698