<svg xmlns="http://www.w3.org/2000/svg"> <script type='text/javascript'> window.addEventListener("load", function(){ document.getElementById("x").appendChild(document.createTextNode(" ")); }, false); </script> <text id="x"><text style="position: absolute;"/>Hello</text></svg>