Index: LayoutTests/svg/animations/animate-restart-never.html |
diff --git a/LayoutTests/svg/animations/animate-restart-never.html b/LayoutTests/svg/animations/animate-restart-never.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a2eaf9c676f039457c633c964fc066597027c2e9 |
--- /dev/null |
+++ b/LayoutTests/svg/animations/animate-restart-never.html |
@@ -0,0 +1,34 @@ |
+<!DOCTYPE html> |
+<script> |
+if (window.testRunner) |
+ testRunner.waitUntilDone(); |
+ |
+function click(x,y) { |
+ if (window.eventSender) { |
+ eventSender.mouseMoveTo(x, y); |
+ eventSender.mouseDown(); |
+ eventSender.mouseUp(); |
+ } |
+} |
+ |
+function animationEnded() { |
+ click(50,50); |
+ if (window.testRunner) { |
+ testRunner.displayAsyncThen(function() { |
+ testRunner.notifyDone(); |
+ }); |
+ } |
+} |
+</script> |
+<svg> |
+ <rect id="rect" width="100px" height="100px" fill="red"> |
+ <animate |
+ begin="0s; rect.click" |
+ 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
|
+ attributeName="fill" |
+ from="red" to="green" |
+ fill="freeze" |
+ restart="never" |
+ onend="animationEnded()"/> |
+ </rect> |
+</svg> |