| <?xml version="1.0" encoding="UTF-8"?> |
| <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 400 400"> |
| <title>This test passes if it doesn't crash.</title> |
| <text id="log" /> |
| <defs> |
| <circle id="circle" r="0" fill="red" /> |
| <filter id="image"> |
| <feImage xlink:href="#circle" /> |
| </filter> |
| </defs> |
| <rect x="0" y="0" width="100" height="100" filter="url(#image)" /> |
| <rect x="100" y="100" width="100" height="100" fill="green" /> |
| <script> |
| <![CDATA[ |
| if (window.testRunner) |
| testRunner.dumpAsText(); |
| |
| var log = document.getElementById("log"); |
| log.appendChild(document.createTextNode("PASS")); |
| ]]> |
| </script> |
| </svg> |