Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / animations / animate-restart-never.html
blob7f8127fc705ba4258b8ced5ff61527aaafa8d854
1 <!DOCTYPE html>
2 <script>
3 if (window.testRunner)
4 testRunner.waitUntilDone();
6 function click(x,y) {
7 if (window.eventSender) {
8 eventSender.mouseMoveTo(x, y);
9 eventSender.mouseDown();
10 eventSender.mouseUp();
14 function animationEnded() {
15 click(50,50);
16 if (window.testRunner) {
17 testRunner.layoutAndPaintAsyncThen(function() {
18 testRunner.notifyDone();
19 });
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"
28 attributeName="fill"
29 from="red" to="green"
30 fill="freeze"
31 restart="never"
32 onend="animationEnded()"/>
33 </rect>
34 </svg>