| <!DOCTYPE html> | |
| <html> | |
| Test passes if it does not crash and "script" inside "rect" executes. | |
| <script> | |
| if (window.testRunner) | |
| testRunner.dumpAsText(); | |
| </script> | |
| <svg> | |
| <g> | |
| <use xlink:href="#test"/> | |
| <rect id="test"> | |
| <script> | |
| document.body.innerHTML = "PASS"; | |
| </script> | |
| </rect> | |
| </g> | |
| </svg> | |
| </html> | |