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

Unified Diff: third_party/WebKit/LayoutTests/animations/longhand-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/longhand-timing-function.html
diff --git a/third_party/WebKit/LayoutTests/animations/longhand-timing-function.html b/third_party/WebKit/LayoutTests/animations/longhand-timing-function.html
deleted file mode 100644
index e8ebce22592544bfac62d4f4aa1f256ef66e78b1..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/animations/longhand-timing-function.html
+++ /dev/null
@@ -1,57 +0,0 @@
-<!DOCTYPE html>
-
-<html>
-<head>
- <style type="text/css" media="screen">
- .box {
- position: relative;
- height: 100px;
- width: 100px;
- margin: 20px;
- background-color: blue;
- }
-
- #movers.moved > .box {
- animation: move 1s linear;
- }
-
- #movers > #test {
- animation-iteration-count: 1;
- }
-
- @keyframes move {
- from { left: 0px; }
- to { left: 400px; }
- }
- </style>
- <script src="resources/animation-test-helpers.js" type="text/javascript" charset="utf-8"></script>
- <script type="text/javascript" charset="utf-8">
- if (window.testRunner)
- testRunner.waitUntilDone();
-
- const expectedValues = [
- // [time, element-id, property, expected-value, tolerance]
- [0.5, "control", "left", 200, 10],
- [0.5, "test", "left", 200, 10],
- ];
-
- function setupTest()
- {
- document.getElementById('movers').className = 'moved';
- runAnimationTest(expectedValues);
- }
-
- window.addEventListener('load', function() {
- window.setTimeout(setupTest, 0);
- }, false);
- </script>
-</head>
-<body>
- <p>Animations should both use a linear timing function.</p>
- <div id="movers">
- <div id="control" class="box"></div>
- <div id="test" class="box"></div>
- </div>
- <div id="result"></div>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698