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

Unified Diff: third_party/WebKit/LayoutTests/animations/animation-events-unprefixed-04.html

Issue 2970883003: Separate out animations tests with prefixing (Closed)
Patch Set: Rebaseline virtual/threaded version of test too 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-events-unprefixed-04.html
diff --git a/third_party/WebKit/LayoutTests/animations/animation-events-unprefixed-04.html b/third_party/WebKit/LayoutTests/animations/animation-events-unprefixed-04.html
deleted file mode 100644
index 9f858604b6060ac67c9f554f328fa3f8da1c1d52..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/animations/animation-events-unprefixed-04.html
+++ /dev/null
@@ -1,56 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
- <title>Tests that custom events with unprefixed animations names are correctly dispatched.</title>
- <script>
- if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.waitUntilDone();
- }
-
- document.addEventListener('animationstart', function(e) {
- document.getElementById('result').innerHTML += 'PASS: animationstart event listener has been called.<br>';
- }, false);
-
- document.addEventListener('webkitAnimationStart', function(e) {
- document.getElementById('result').innerHTML += 'FAIL: webkitAnimationStart event listener should not have been called.<br>';
- }, false);
-
- document.addEventListener('animationiteration', function(e) {
- document.getElementById('result').innerHTML += 'PASS: animationiteration event listener has been called.<br>';
- }, false);
-
- document.addEventListener('webkitAnimationIteration', function(e) {
- document.getElementById('result').innerHTML += 'FAIL: webkitAnimationIteration event listener should not have been called.<br>';
- }, false);
-
- document.addEventListener('animationend', function(e) {
- document.getElementById('result').innerHTML += 'PASS: animationend event listener has been called.';
- if (window.testRunner)
- testRunner.notifyDone();
- }, false);
-
- document.addEventListener('webkitAnimationEnd', function(e) {
- document.getElementById('result').innerHTML += 'FAIL: webkitAnimationEnd event listener should not have been called.';
- if (window.testRunner)
- testRunner.notifyDone();
- }, false);
-
- </script>
-</head>
-<body>
-Tests that custom events with unprefixed animations names are correctly dispatched.
-<pre id="result"></pre>
-</body>
-<script>
- var custom = document.createEvent('CustomEvent');
- custom.initCustomEvent('animationstart', true, true, null);
- document.dispatchEvent(custom);
- custom = document.createEvent('CustomEvent');
- custom.initCustomEvent('animationiteration', true, true, null);
- document.dispatchEvent(custom);
- custom = document.createEvent('CustomEvent');
- custom.initCustomEvent('animationend', true, true, null);
- document.dispatchEvent(custom);
-</script>
-</html>

Powered by Google App Engine
This is Rietveld 408576698