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

Unified Diff: LayoutTests/svg/animations/resources/animation-policy.svg

Issue 802143002: AnimationPolicy setting is applied to SVG animation. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Move code to SMILTimeContainer and add LayoutTests Created 6 years 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/animation-policy.svg
diff --git a/LayoutTests/svg/animations/resources/accumulate-values-width-animation.svg b/LayoutTests/svg/animations/resources/animation-policy.svg
similarity index 64%
copy from LayoutTests/svg/animations/resources/accumulate-values-width-animation.svg
copy to LayoutTests/svg/animations/resources/animation-policy.svg
index af456b960591b92d9daefd90a92e2782c5d8a6a9..beea061f5d38c0c38657a0db43ece51476eb901c 100644
--- a/LayoutTests/svg/animations/resources/accumulate-values-width-animation.svg
+++ b/LayoutTests/svg/animations/resources/animation-policy.svg
@@ -1,10 +1,9 @@
-<?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 to 100 in 10s with a wobbling animation -->
-<rect width="20" height="100" fill="green">
- <animate id="an1" attributeName="width" dur="2s" values="0; 30; 20" accumulate="sum" repeatCount="5" fill="freeze"/>
-</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">
+
+<!-- an1: Change width to 100 in 10s with a wobbling animation -->
+<rect x="50" y="0" width="100" height="100" fill="green">
+<animate id="an1" attributeName="y" values="0; 50; 100" dur="2s" repeatCount="indefinite"/>
fs 2014/12/18 16:45:17 I think it's better to use an animation where the
je_julie(Not used) 2014/12/22 15:05:17 I updated TC. PTAL.
+</rect>
+</svg>

Powered by Google App Engine
This is Rietveld 408576698