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

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

Issue 2976613002: Move Web Animations API 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/animations/animation-state-changes-negative-playback-rate.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/animations/KeyframeEffectReadOnly-animation.html
diff --git a/third_party/WebKit/LayoutTests/animations/KeyframeEffectReadOnly-animation.html b/third_party/WebKit/LayoutTests/animations/KeyframeEffectReadOnly-animation.html
deleted file mode 100644
index 6cfba72b0981028fbd3afdf95cc62a6437b83e23..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/animations/KeyframeEffectReadOnly-animation.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<!DOCTYPE html>
-<meta charset=utf-8>
-<title>Animating with KeyframeEffectReadOnly objects</title>
-<script src="../resources/testharness.js"></script>
-<script src="../resources/testharnessreport.js"></script>
-<script src="../external/wpt/web-animations/testcommon.js"></script>
-<body>
-<script>
-"use strict";
-
-test(function(t) {
- var target = createDiv(t);
- var effect = new KeyframeEffectReadOnly(target, null);
- var anim = target.animate(null);
- anim.effect = effect;
- assert_class_string(anim.effect, "KeyframeEffectReadOnly");
- assert_class_string(anim.effect.timing, "AnimationEffectTimingReadOnly");
-}, "An animation can be created with a KeyframeEffectReadOnly, and the effect"
- + " is of the expected type");
-
-test(function(t) {
- var target = createDiv(t);
- var effect = new KeyframeEffectReadOnly(target, { opacity: [0, 0.9] }, 1000);
- var anim = target.animate(null);
- anim.pause();
- anim.effect = effect;
- anim.currentTime = 500;
- assert_equals(getComputedStyle(target).opacity, '0.45',
- 'opacity at mid-point');
-}, "An animation based on a KeyframeEffectReadOnly applies an effect");
-
-</script>
-</body>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/animations/animation-state-changes-negative-playback-rate.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698