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

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

Issue 2975723002: Move direction and fill 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/animation-direction-normal.html
diff --git a/third_party/WebKit/LayoutTests/animations/animation-direction-normal.html b/third_party/WebKit/LayoutTests/animations/animation-direction-normal.html
deleted file mode 100644
index feb0adba16b16cb419ff032cad0005c4df683181..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/animations/animation-direction-normal.html
+++ /dev/null
@@ -1,39 +0,0 @@
-<!DOCTYPE html>
-<title>Test of animation-direction</title>
-<script src="../resources/testharness.js"></script>
-<script src="../resources/testharnessreport.js"></script>
-<style>
- #target {
- animation-direction: normal;
- animation-duration: 2s;
- animation-iteration-count: 2;
- animation-name: move1;
- animation-play-state: paused;
- animation-timing-function: linear;
- background-color: red;
- height: 100px;
- left: 0px;
- margin: 0;
- position: absolute;
- top: 100px;
- width: 100px;
- }
- @keyframes move1 {
- from { left: 0px; }
- to { left: 200px; }
- }
-
-</style>
-<div id="target"></div>
-<script>
- test(function() {
- target.style.animationDelay = '-0.5s';
- assert_equals(getComputedStyle(target).left, '50px');
-
- target.style.animationDelay = '-1s';
- assert_equals(getComputedStyle(target).left, '100px');
-
- target.style.animationDelay = '-2.5s';
- assert_equals(getComputedStyle(target).left, '50px');
- }, "animation-direction normal plays forwards");
-</script>

Powered by Google App Engine
This is Rietveld 408576698