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

Unified Diff: third_party/WebKit/LayoutTests/animations/clear-svg-animation-effects.html

Issue 2975793004: Move animation svg tests to own 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/clear-svg-animation-effects.html
diff --git a/third_party/WebKit/LayoutTests/animations/clear-svg-animation-effects.html b/third_party/WebKit/LayoutTests/animations/clear-svg-animation-effects.html
deleted file mode 100644
index 8b75bdcb382da15cc6226b88698a41a0bdabca63..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/animations/clear-svg-animation-effects.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<script src="../resources/testharness.js"></script>
-<script src="../resources/testharnessreport.js"></script>
-<svg>
- <stop id="target" offset="1"/>
-</svg>
-<script>
-var asyncHandle = async_test('SVG Attributes should return to their base values after animations have stopped applying.');
-
-var animation = target.animate([
- {'svg-offset': '0'},
- {'svg-offset': '0.5'},
-], 1000);
-animation.pause();
-animation.currentTime = 500;
-
-requestAnimationFrame(() => {
- asyncHandle.step(() => {
- assert_equals(target.offset.animVal, 0.25, 'Animation is in effect.');
- });
- animation.cancel();
- requestAnimationFrame(() => {
- asyncHandle.step(() => {
- assert_equals(target.offset.animVal, 1, 'Animation is no longer in effect.');
- });
- asyncHandle.done();
- });
-});
-</script>

Powered by Google App Engine
This is Rietveld 408576698