14 lines
430 B
XML
14 lines
430 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<svg xmlns="http://www.w3.org/2000/svg" onload="runTest()">
|
|
<script>
|
|
if (window.testRunner)
|
|
testRunner.dumpAsText();
|
|
function runTest() {
|
|
document.getElementById("rect").setAttribute("fill", "green");
|
|
}
|
|
</script>
|
|
<text x="0" y="70">This should not leak</text>
|
|
<rect width="50" height="50" fill="url(#foo)" id="rect"/>
|
|
</svg>
|
|
|