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

Unified Diff: third_party/WebKit/LayoutTests/animations/missing-keyframe-properties-timing-function.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/missing-keyframe-properties-timing-function.html
diff --git a/third_party/WebKit/LayoutTests/animations/missing-keyframe-properties-timing-function.html b/third_party/WebKit/LayoutTests/animations/missing-keyframe-properties-timing-function.html
deleted file mode 100644
index 39fbb8b6ba23bdbdfcc62ab10e9d47c276c69206..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/animations/missing-keyframe-properties-timing-function.html
+++ /dev/null
@@ -1,77 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
- <style type="text/css" media="screen">
- .box {
- position: relative;
- margin: 10px;
- left: 0;
- width: 100px;
- height: 100px;
- background-color: blue;
- animation-duration: 2s;
- animation-timing-function: ease-in;
- }
-
- #box1 {
- animation-name: move;
- }
- @keyframes move {
- from {
- opacity: 0;
- left: 100px;
- }
- 25% {
- opacity: 0.25;
- }
- 50% {
- left: 200px;
- animation-timing-function: linear;
- }
- to {
- left: 400px;
- }
- }
-
- #box2 {
- animation-name: move2;
- }
- @keyframes move2 {
- from {
- opacity: 0;
- transform: translateX(100px);
- }
- 25% {
- opacity: 0.25;
- }
- 50% {
- transform: translateX(200px);
- animation-timing-function: linear;
- }
- to {
- transform: translateX(400px);
- }
- }
-
- </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, "box1", "left", 132, 15],
- [0.5, "box2", "transform.4", 132, 15],
- [1.5, "box1", "left", 300, 15],
- [1.5, "box2", "transform.4", 300, 15],
- ];
-
- runAnimationTest(expectedValues);
- </script>
-</head>
-<body>
-<div id="box1" class="box"></div>
-<div id="box2" class="box"></div>
-<div id="result">
-</div>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698