blob: 76804c5a8a2739d224d3d16002bda93439323ded [file] [log] [blame]
<?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>