blob: 77da7a096f08aff98694b52500483bb8a5ff1c27 [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", "url(#bar)");
}
</script>
<text x="0" y="70">This should not leak</text>
<rect width="50" height="50" fill="url(#foo)" id="rect"/>
</svg>