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

Unified Diff: LayoutTests/svg/animations/discard-rect-with-anim-child-b.svg

Issue 99533004: [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/discard-rect-with-anim-child-b.svg
diff --git a/LayoutTests/svg/animations/discard-rect-with-anim-child-b.svg b/LayoutTests/svg/animations/discard-rect-with-anim-child-b.svg
new file mode 100644
index 0000000000000000000000000000000000000000..09bf379c8f62ea245b938a44a01616a75e2be9dd
--- /dev/null
+++ b/LayoutTests/svg/animations/discard-rect-with-anim-child-b.svg
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg onload="loaded()" version="1.2" baseProfile="tiny" id="svg-root" width="100%" height="100%"
+ viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg"
+ xmlns:xlink="http://www.w3.org/1999/xlink">
+ <rect id="r1" x="100" y="100" width="200" height="200" fill="green"/>
+ <rect id="r2" x="100" y="100" width="200" height="200" fill="blue">
+ <set attributeName="fill" to="red" begin="4s" fill="freeze" />
+ <discard id="discard1" begin="2s"/>
+ </rect>
+ <script>
+ if (window.testRunner)
+ testRunner.waitUntilDone();
+
+ function loaded() {
+ document.documentElement.setCurrentTime(4);
+
+ if (window.testRunner)
+ setTimeout(function(){testRunner.notifyDone();}, 10);
+ }
+ </script>
+</svg>

Powered by Google App Engine
This is Rietveld 408576698