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

Unified Diff: third_party/WebKit/LayoutTests/web-animations-api/transitions-replay.html

Issue 2093423002: Move web-animations-api tests not being upstreamed (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Undo move of reject-hyphen.html Created 4 years, 6 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/web-animations-api/transitions-replay.html
diff --git a/third_party/WebKit/LayoutTests/web-animations-api/transitions-replay.html b/third_party/WebKit/LayoutTests/web-animations-api/transitions-replay.html
deleted file mode 100644
index 083b041a78358c49dfd8c775e6e6b565f00763e8..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/web-animations-api/transitions-replay.html
+++ /dev/null
@@ -1,30 +0,0 @@
-<!DOCTYPE html>
-<script src="../resources/testharness.js"></script>
-<script src="../resources/testharnessreport.js"></script>
-<div id='element'></div>
-<style>
- #element {
- transition: background 100ms;
- background: black;
- }
-</style>
-<script>
-var t = async_test('Replaying a transition after it has finished should not trigger a new transition');
-
-t.step(function() {
- element.offsetTop; // Force recalc
- element.style.background = "green";
- element.offsetTop; // Force recalc
-
- assert_equals(document.timeline.getAnimations().length, 1);
- var animation = document.timeline.getAnimations()[0];
- animation.onfinish = function() {
- requestAnimationFrame(function() {
- requestAnimationFrame(function() {
- animation.startTime = document.timeline.currentTime - 10;
- animation.onfinish = t.done.bind(t);
- });
- });
- }
-});
-</script>

Powered by Google App Engine
This is Rietveld 408576698