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

Unified Diff: third_party/WebKit/LayoutTests/animations/animation-direction.html

Issue 2573413002: CSS Animations: More layout tests use testharness.js (Closed)
Patch Set: review comments Created 4 years 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/animations/animation-direction-alternate.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/animations/animation-direction.html
diff --git a/third_party/WebKit/LayoutTests/animations/animation-direction.html b/third_party/WebKit/LayoutTests/animations/animation-direction.html
deleted file mode 100644
index be2cbca1af541686be9f9ba8dbdb7d3a70a3c59e..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/animations/animation-direction.html
+++ /dev/null
@@ -1,61 +0,0 @@
-<!DOCTYPE html>
-
-<html>
-<head>
- <style type="text/css" media="screen">
-
- #container {
- position: relative;
- border: 1px solid black;
- height: 100px;
- width: 500px;
- }
-
- #box {
- position: absolute;
- height: 100px;
- width: 100px;
- background-color: blue;
- animation-name: move;
- animation-duration: 2s;
- animation-direction: alternate;
- animation-iteration-count: 2;
- animation-timing-function: linear;
- }
-
- @keyframes move {
- 0% {
- left: 0;
- }
- 100% {
- left: 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, "box", "left", 100, 20],
- [1.5, "box", "left", 300, 20],
-
- [2.5, "box", "left", 300, 20],
- [3.5, "box", "left", 100, 20],
- ];
-
- runAnimationTest(expectedValues);
- </script>
-</head>
-<body>
-
-<!-- Test animation-direction: alternate -->
-<div id="container">
- <div id="box"></div>
-</div>
-
-<div id="result"></div>
-
-</body>
-</html>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/animations/animation-direction-alternate.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698