tenfourfox/layout/svg/crashtests/385840-1.svg
Cameron Kaiser c9b2922b70 hello FPR
2017-04-19 00:56:45 -07:00

21 lines
496 B
XML

<svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg" onload="boom();">
<script>
function boom()
{
var SVG_NS = "http://www.w3.org/2000/svg";
var svgCircle = document.createElementNS(SVG_NS, 'circle');
var svgText = document.createElementNS(SVG_NS, 'text');
svgText.appendChild(document.createTextNode("foo"));
svgCircle.appendChild(svgText);
document.removeChild(document.documentElement);
document.appendChild(svgCircle);
}
</script>
</svg>