Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<head>
<script style="display: none" type="text/javascript">
function boom()
{
var fo = document.createElementNS("http://www.w3.org/2000/svg", 'foreignObject');
document.getElementById("innerSVG").appendChild(fo);
}
</script>
</head>
<body onload="boom();">
<svg xmlns="http://www.w3.org/2000/svg" ><linearGradient><svg id="innerSVG"></svg></linearGradient></svg>
</body>
</html>