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

Unified Diff: LayoutTests/svg/animations/script-tests/discard-on-discard.js

Issue 136313002: Revert of [SVG] Implement 'discard' element (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 11 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: LayoutTests/svg/animations/script-tests/discard-on-discard.js
diff --git a/LayoutTests/svg/animations/script-tests/discard-on-discard.js b/LayoutTests/svg/animations/script-tests/discard-on-discard.js
deleted file mode 100644
index c2cd17ece0b76c9ccfc99a833b9fb32a6aab302f..0000000000000000000000000000000000000000
--- a/LayoutTests/svg/animations/script-tests/discard-on-discard.js
+++ /dev/null
@@ -1,31 +0,0 @@
-description("Test the behavior of one discard applied on another discard");
-embedSVGTestCase("resources/discard-on-discard.svg");
-
-// Setup animation test
-function sample1() {
- expectFillColor(rect1, 255, 0, 0);
-}
-
-function sample2() {
- expectFillColor(rect1, 0, 255, 0);
-}
-
-function executeTest() {
- var rects = rootSVGElement.ownerDocument.getElementsByTagName("rect");
- rect1 = rects[0];
-
- const expectedValues = [
- // [animationId, time, sampleCallback]
- ["anim", 0.0, sample1],
- ["anim", 0.01, sample1],
- ["anim", 2.0, sample2],
- ["anim", 2.01, sample2],
- ["anim", 3.0, sample2],
- ["anim", 3.01, sample2]
- ];
-
- runAnimationTest(expectedValues);
-}
-
-window.animationStartsImmediately = true;
-var successfullyParsed = true;
« no previous file with comments | « LayoutTests/svg/animations/resources/discard-on-discard.svg ('k') | LayoutTests/svg/custom/global-constructors-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698