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

Unified Diff: LayoutTests/svg/animations/resources/repeatn-remove-add-animation.svg

Issue 23823006: [SVG] Handle repeat(n) event for svg animations (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebaselined Created 7 years, 3 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/resources/repeatn-remove-add-animation.svg
diff --git a/LayoutTests/svg/animations/resources/repeatn-remove-add-animation.svg b/LayoutTests/svg/animations/resources/repeatn-remove-add-animation.svg
new file mode 100755
index 0000000000000000000000000000000000000000..5d1d74e09d35c4d6147eba66a7c1f8078c444bf3
--- /dev/null
+++ b/LayoutTests/svg/animations/resources/repeatn-remove-add-animation.svg
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd">
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+
+ <animate id="anim" attributeName="visibility" to="visible" begin="0s" dur="2s" repeatCount="4"/>
+ <rect x="0" y="0" width="100" height="100" fill="rgb(0, 255, 0)">
+ <set attributeName="fill" to="rgb(255, 0, 0)" begin="anim.repeat(0)"/>
+ </rect>
+ <rect x="200" y="0" width="100" height="100" fill="rgb(255, 0, 0)">
+ <set attributeName="fill" to="rgb(0, 255, 0)" begin="anim.repeat(1)"/>
+ </rect>
+ <rect x="0" y="200" width="100" height="100" fill="rgb(255, 0, 0)">
+ <set attributeName="fill" to="rgb(0, 255, 0)" begin="anim.repeat(2)"/>
+ </rect>
+ <rect x="200" y="200" width="100" height="100" fill="rgb(255, 0, 0)">
+ <set attributeName="fill" to="rgb(0, 255, 0)" begin="anim.repeat(3)"/>
+ </rect>
+
+</svg>

Powered by Google App Engine
This is Rietveld 408576698