| <svg xmlns="http://www.w3.org/2000/svg" onload="load()"> |
| <!-- |
| Test for WK86385 - This test passes if it doesn't crash. |
| This test has two animations running simultaneously where |
| the first animation ends before the second. At the end of |
| the test the green circle should be hidden behind a 100x100 |
| green square in the top-left corner. |
| --> |
| <ellipse cx="50" cy="50" rx="20" ry="20" fill="green"> |
| <animate attributeName="cx" from="0" to="500" dur="0.1"/> |
| <animate attributeName="cx" from="0" to="200" dur="0.2"/> |
| </ellipse> |
| <rect width="100" height="100" fill="green"> |
| <animate attributeName="width" from="10" to="50" dur="0.1"/> |
| <animate attributeName="width" additive="sum" fill="freeze" from="10" to="0" dur="0.2"/> |
| </rect> |
| <script> |
| <![CDATA[ |
| function load() { |
| if (window.testRunner) { |
| testRunner.waitUntilDone(); |
| } |
| |
| window.setTimeout(function() { |
| if (window.testRunner) |
| testRunner.notifyDone(); |
| }, 500); |
| } |
| ]]> |
| </script> |
| </svg> |