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

Unified Diff: third_party/WebKit/LayoutTests/web-animations-api/w3c/keyframes-with-null-offsets.html

Issue 2910883002: Clean up duplicate tests in web-animations-api (Closed)
Patch Set: Rebase and remove one more reference to deleted test Created 3 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/w3c/keyframes-with-null-offsets.html
diff --git a/third_party/WebKit/LayoutTests/web-animations-api/w3c/keyframes-with-null-offsets.html b/third_party/WebKit/LayoutTests/web-animations-api/w3c/keyframes-with-null-offsets.html
deleted file mode 100644
index 179b0b72b21079e2a657a012e4285781bd9e6f63..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/web-animations-api/w3c/keyframes-with-null-offsets.html
+++ /dev/null
@@ -1,44 +0,0 @@
-<!DOCTYPE html>
-<meta charset=utf-8>
-<title>Test keyframes with null offsets</title>
-<link rel="help" ­href="https://w3c.github.io/web-animations/#keyframes-section">
-
-<script src="../../resources/testharness.js"></script>
-<script src="../../resources/testharnessreport.js"></script>
-<script src="resources/keyframes-test.js"></script>
-<script>
-test(function() {
- assertAnimationStyles([
- {opacity: '0.5', left: '50px'},
- {opacity: '0', left: '0px', offset: null},
- {opacity: '0.75', left: '75px', offset: null},
- ], {
- 0: {opacity: '0.5', left: '50px'},
- 0.25: {opacity: '0.25', left: '25px'},
- 0.5: {opacity: '0', left: '0px'},
- 0.75: {opacity: '0.375', left: '37.5px'},
- 1: {opacity: '0.75', left: '75px'},
- }, 'Null and missing offsets behave identically');
- assertAnimationStyles([
- {opacity: '0.5', left: '50px', offset: null},
- {opacity: '0', left: '0px', offset: 0.25},
- {opacity: '0.75', left: '75px', offset: null},
- ], {
- 0: {opacity: '0.5', left: '50px'},
- 0.125: {opacity: '0.25', left: '25px'},
- 0.25: {opacity: '0', left: '0px'},
- 0.5: {opacity: '0.25', left: '25px'},
- 0.75: {opacity: '0.5', left: '50px'},
- 1: {opacity: '0.75', left: '75px'},
- }, 'Null and explicit offsets behave as with missing and explicit offsets.');
-},
-'element.animate() with null offsets specified',
-{
- help: 'http://dev.w3.org/fxtf/web-animations/#the-keyframe-dictionary',
- assert: [
- 'element.animate() should start an animation when keyframes are specified with',
- 'null offsets. The behaviour should be identical to not specifying the offsets.',
- ],
- author: 'Alan Cutter',
-});
-</script>

Powered by Google App Engine
This is Rietveld 408576698