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

Side by Side Diff: LayoutTests/svg/animations/animate-restart-never.html

Issue 1119723002: SVG animate should respect attribute 'restart=never'. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased and aligned with code review Created 5 years, 7 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 <!DOCTYPE html>
2 <script>
3 if (window.testRunner)
4 testRunner.waitUntilDone();
5
6 function click(x,y) {
7 if (window.eventSender) {
8 eventSender.mouseMoveTo(x, y);
9 eventSender.mouseDown();
10 eventSender.mouseUp();
11 }
12 }
13
14 function animationEnded() {
15 click(50,50);
16 if (window.testRunner) {
17 testRunner.displayAsyncThen(function() {
18 testRunner.notifyDone();
19 });
20 }
21 }
22 </script>
23 <svg>
24 <rect id="rect" width="100px" height="100px" fill="red">
25 <animate
26 begin="0s; rect.click"
27 dur="0.05s"
fs 2015/05/08 10:28:31 Please verify that this test fails reliably (in th
Shanmuga Pandi 2015/05/08 11:30:56 I have verified it , with out this fix, the test c
28 attributeName="fill"
29 from="red" to="green"
30 fill="freeze"
31 restart="never"
32 onend="animationEnded()"/>
33 </rect>
34 </svg>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698