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

Unified Diff: third_party/WebKit/LayoutTests/animations/use-count-stacked-neutral-keyframe.html

Issue 2964363002: Move animations usecounter tests to subdirectory (Closed)
Patch Set: 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/animations/use-count-stacked-neutral-keyframe.html
diff --git a/third_party/WebKit/LayoutTests/animations/use-count-stacked-neutral-keyframe.html b/third_party/WebKit/LayoutTests/animations/use-count-stacked-neutral-keyframe.html
deleted file mode 100644
index 84fce3ef3b31e586653497f3168451e963484b9c..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/animations/use-count-stacked-neutral-keyframe.html
+++ /dev/null
@@ -1,31 +0,0 @@
-<!DOCTYPE html>
-<script src="../resources/testharness.js"></script>
-<script src="../resources/testharnessreport.js"></script>
-<style>
-#target {
- animation-name: a, b;
- animation-duration: 1e10s;
-}
-
-@keyframes a {
- from { left: 1px; }
- to { left: 1px; }
-}
-
-@keyframes b {
- from { left: 1px; }
- to { left: 1px; }
-}
-</style>
-<div id="target"></div>
-<script>
-var CSSAnimationsStackedNeutralKeyframe = 937; // From UseCounter.h
-test(function() {
- getComputedStyle(target).left; // Force style recalc;
- assert_false(internals.isUseCounted(document, CSSAnimationsStackedNeutralKeyframe));
-
- document.styleSheets[0].rules[2].deleteRule('from');
- getComputedStyle(target).left; // Force style recalc;
- assert_true(internals.isUseCounted(document, CSSAnimationsStackedNeutralKeyframe));
-});
-</script>

Powered by Google App Engine
This is Rietveld 408576698