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

Unified Diff: third_party/WebKit/LayoutTests/animations/fill-mode-forwards2.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/fill-mode-forwards2.html
diff --git a/third_party/WebKit/LayoutTests/animations/fill-mode-forwards2.html b/third_party/WebKit/LayoutTests/animations/fill-mode-forwards2.html
deleted file mode 100644
index 804459b4a7d011b25fddd35fb468ef609bef2a6d..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/animations/fill-mode-forwards2.html
+++ /dev/null
@@ -1,54 +0,0 @@
-<html>
-<head>
-<script>
- if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.waitUntilDone();
- }
-
- function animationEnded() {
- var result = document.getElementById("result");
- var square = document.getElementById('square');
- var opacity = document.defaultView.getComputedStyle(square, null).getPropertyValue('opacity');
-
- if (opacity == 0.5)
- result.innerHTML = "PASS - Test working";
- else
- result.innerHTML = "FAIL - A opacity value must be 0.5";
-
-
- if(window.testRunner)
- testRunner.notifyDone();
- }
-</script>
-<style>
- body {
- margin-left: 100px;
- margin-top: 50px;
- }
- #square {
- width: 100px;
- height: 100px;
- position: absolute;
- top: 100px;
- background-color: blue;
- opacity: 0;
- animation-name: pop;
- animation-duration: 1s;
- animation-fill-mode: forwards;
- }
- @keyframes pop {
- 0% { transform: scale(0.05); opacity: 0; }
- 33% { transform: scale(1.00); opacity: 1; }
- 66% { transform: scale(1.66); opacity: 1; }
- 100% { transform: scale(0.95); opacity: 0.5; }
- }
-</style>
-</head>
-
-<body>
- <div id="square" onwebkitanimationend="animationEnded();"></div>
- <div id="result"></div>
-</body>
-</html>
-

Powered by Google App Engine
This is Rietveld 408576698