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

Unified Diff: third_party/WebKit/LayoutTests/animations/usecounter-tests/step-middle-timing-function-deprecated.html

Issue 2971753002: Rename usecounter-tests directory to usecounters (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/usecounter-tests/step-middle-timing-function-deprecated.html
diff --git a/third_party/WebKit/LayoutTests/animations/usecounter-tests/step-middle-timing-function-deprecated.html b/third_party/WebKit/LayoutTests/animations/usecounter-tests/step-middle-timing-function-deprecated.html
deleted file mode 100644
index 8079d319a4553c4540c14f4a762c4bf79f2b31c0..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/animations/usecounter-tests/step-middle-timing-function-deprecated.html
+++ /dev/null
@@ -1,24 +0,0 @@
-<!DOCTYPE html>
-<script src="../../resources/testharness.js"></script>
-<script src="../../resources/testharnessreport.js"></script>
-<script>
-'use strict';
-// From WebFeature.h
-var kDeprecatedTimingFunctionStepMiddle = 2024;
-
-test(() => {
- assert_false(internals.isUseCounted(document, kDeprecatedTimingFunctionStepMiddle));
- var element = document.createElement('div');
- element.style.animationTimingFunction = 'steps(3, middle)';
- document.documentElement.appendChild(element);
- assert_equals(getComputedStyle(element).animationTimingFunction, 'ease');
- assert_false(internals.isUseCounted(document, kDeprecatedTimingFunctionStepMiddle));
-}, 'The step timing function with step position \'middle\' does not function outside of Web Animations.');
-
-test(() => {
- assert_false(internals.isUseCounted(document, kDeprecatedTimingFunctionStepMiddle));
- document.documentElement.animate([], { easing: 'steps(3, middle)' });
- assert_true(internals.isUseCounted(document, kDeprecatedTimingFunctionStepMiddle));
-}, 'The step timing function with step position \'middle\' is deprecated in Web Animations.');
-
-</script>

Powered by Google App Engine
This is Rietveld 408576698