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

Unified Diff: third_party/WebKit/LayoutTests/animations/keyframe-multiple-timing-functions-transform.html

Issue 2979503002: Move animation timing tests to subdirectory (Closed)
Patch Set: Created 3 years, 5 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/animations/keyframe-multiple-timing-functions-transform.html
diff --git a/third_party/WebKit/LayoutTests/animations/keyframe-multiple-timing-functions-transform.html b/third_party/WebKit/LayoutTests/animations/keyframe-multiple-timing-functions-transform.html
deleted file mode 100644
index 9f7472eb87d5a53b0bd7fb36dc80ac2d70054e5f..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/animations/keyframe-multiple-timing-functions-transform.html
+++ /dev/null
@@ -1,48 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
- <style type="text/css">
- #box {
- position: relative;
- height: 100px;
- width: 100px;
- margin: 20px;
- background-color: red;
- transform: translateZ(0);
- animation:
- horizontal 2s linear 1 alternate,
- fade 2s steps(1, end) 1 alternate;
- }
-
- @keyframes horizontal {
- from { transform: translateX(0px); }
- to { transform: translateX(200px); }
- }
-
- @keyframes fade {
- from { opacity: 1.0; }
- to { opacity: 0.0; }
- }
- </style>
- <script src="resources/animation-test-helpers.js" type="text/javascript" charset="utf-8"></script>
- <script type="text/javascript" charset="utf-8">
- const expectedValues = [
- // [time, element-id, property, expected-value, tolerance]
- [0.5, "box", "transform", [1,0,0,1, 50,0], 20],
- [1.0, "box", "transform", [1,0,0,1,100,0], 20],
- [1.5, "box", "transform", [1,0,0,1,150,0], 20],
- [0.5, "box", "opacity", 1.0, 0.15],
- [0.9, "box", "opacity", 1.0, 0.15],
- [1.5, "box", "opacity", 1.0, 0.15],
- ];
-
- // pixel test image has to have 1.0 opacity.
- var doPixelTest = true;
- runAnimationTest(expectedValues, null, null, null, doPixelTest);
- </script>
-</head>
-<body>
- <div id="box"></div>
- <div id="result"></div>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698