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

Unified Diff: LayoutTests/svg/animations/resources/animate-fill-freeze-with-repeatDur.svg

Issue 19946002: [SVG] Handle animation freeze when 'repeatDur' is not a multiple of 'dur' (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 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: LayoutTests/svg/animations/resources/animate-fill-freeze-with-repeatDur.svg
diff --git a/LayoutTests/svg/animations/resources/single-values-animation.svg b/LayoutTests/svg/animations/resources/animate-fill-freeze-with-repeatDur.svg
old mode 100644
new mode 100755
similarity index 53%
copy from LayoutTests/svg/animations/resources/single-values-animation.svg
copy to LayoutTests/svg/animations/resources/animate-fill-freeze-with-repeatDur.svg
index 3c35e73758a1b3967b6d4a143571f7740452b303..8326142ace5424713a78ae015e4f24a506070326
--- a/LayoutTests/svg/animations/resources/single-values-animation.svg
+++ b/LayoutTests/svg/animations/resources/animate-fill-freeze-with-repeatDur.svg
@@ -1,10 +1,7 @@
-<?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">
-
-<!-- an1: Change width immediately to 100 at 2s -->
-<rect width="10" height="100" fill="green">
- <animate id="an1" attributeType="XML" attributeName="width" fill="freeze" values="100" begin="2s"/>
-</rect>
-
-</svg>
+<?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">
+ <rect x='0' y='0' width='50' height='50' fill='green'>
+ <animate id="anim" attributeName='x' from='0' to='100' dur='4s' begin='0s' repeatDur="6s" accumulate="sum" fill='freeze'/>
+ </rect>
+</svg>

Powered by Google App Engine
This is Rietveld 408576698