<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg">
<script>
if (window.testRunner)
testRunner.dumpAsText();
</script>
<text x="0" y="70">This should not leak</text>
<rect width="50" height="50" fill="url(#foo)" id="rect"/>
</svg>