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

Unified Diff: third_party/WebKit/LayoutTests/web-animations-api/animation-reverse-end-exclusive.html

Issue 2134343003: Renamed the test and change some test (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added meta, title, and link Created 4 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/web-animations-api/player-reverse-end-exclusive.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/web-animations-api/animation-reverse-end-exclusive.html
diff --git a/third_party/WebKit/LayoutTests/web-animations-api/animation-reverse-end-exclusive.html b/third_party/WebKit/LayoutTests/web-animations-api/animation-reverse-end-exclusive.html
new file mode 100644
index 0000000000000000000000000000000000000000..2a9d1e6e03b94d9f88dd453c9a510a81fa62111d
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/web-animations-api/animation-reverse-end-exclusive.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<meta charset=utf-8>
+<title>Animation Reverse End Exclusive</title>
+<link rel="help" ­href="https://w3c.github.io/web-animations/#speed-control">
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script>
+
+test(function() {
+ document.documentElement.style.opacity = 1;
+ var animation = document.documentElement.animate([{opacity: 0.5}, {opacity: 0.5}], 100000);
+ animation.playbackRate = -1;
+ animation.currentTime = 0;
+ assert_equals(getComputedStyle(document.documentElement).opacity, "1");
+}, "An animation which is not filling backwards should not be in effect at time 0 when playing backwards");
+</script>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/web-animations-api/player-reverse-end-exclusive.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698