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

Unified Diff: third_party/WebKit/LayoutTests/animations/animation-immediate-start-event-after-ondemand-update.html

Issue 2976603002: Move animation event 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/animation-immediate-start-event-after-ondemand-update.html
diff --git a/third_party/WebKit/LayoutTests/animations/animation-immediate-start-event-after-ondemand-update.html b/third_party/WebKit/LayoutTests/animations/animation-immediate-start-event-after-ondemand-update.html
deleted file mode 100644
index c66fd7b14ef7427eba94b2c0578ff6e06c113044..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/animations/animation-immediate-start-event-after-ondemand-update.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<!doctype html>
-<style>
-.animated {
- animation: test 10ms;
- animation-delay: -10ms;
-}
-@keyframes test {
- 0% {}
-}
-</style>
-<div id="test">FAIL</div>
-<script>
-if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.waitUntilDone();
-}
-onload = function() {
- // This test covers a specific regression where an on-demand timing update
- // that was triggered after an animation received a start time could cause
- // CSS Animation and Transition events to not be fired on the subseuquent
- // animation-frame timing update.
- test.classList.add('animated');
- test.addEventListener('animationstart', function() {
- document.documentElement.textContent = 'PASS';
- if (window.testRunner)
- testRunner.notifyDone();
- });
- requestAnimationFrame(function() {
- setTimeout(function() {
- getComputedStyle(test).left;
- });
- });
-}
-</script>

Powered by Google App Engine
This is Rietveld 408576698