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

Side by Side Diff: LayoutTests/svg/animations/repeatn-event-2a.svg

Issue 23823006: [SVG] Handle repeat(n) event for svg animations (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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 unified diff | Download patch
OLDNEW
(Empty)
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/ SVG/1.1/DTD/svg11-tiny.dtd">
3 <svg onload="loaded()" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://ww w.w3.org/1999/xlink">
4 <g>
5 <animate id="anim" attributeName="visibility" to="visible" begin="0s" dur="2 s" repeatCount="4"/>
6 <rect x="0" y="0" width="100" height="100" fill="green">
pdr. 2013/09/03 17:48:14 Does this pass? Should this first one be fill="red
pavane 2013/09/03 19:00:52 repeat(0) should not be fired. So, i added a negat
7 <set attributeName="fill" to="red" begin="anim.repeat(0)"/>
8 </rect>
9 <rect x="200" y="0" width="100" height="100" fill="red">
10 <set attributeName="fill" to="green" begin="anim.repeat(1)"/>
11 </rect>
12 <rect x="0" y="200" width="100" height="100" fill="red">
13 <set attributeName="fill" to="green" begin="anim.repeat(2)"/>
14 </rect>
15 <rect x="200" y="200" width="100" height="100" fill="red">
16 <set attributeName="fill" to="green" begin="anim.repeat(3)"/>
17 </rect>
18 </g>
19 <script>
20 if (window.testRunner)
21 testRunner.waitUntilDone();
22
23 function loaded() {
24 document.documentElement.setCurrentTime(8);
25
26 if (window.testRunner)
27 setTimeout(function(){testRunner.notifyDone();}, 100);
28 }
29 </script>
30 </svg>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698