Chromium Code Reviews| OLD | NEW |
|---|---|
| (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> | |
| OLD | NEW |