Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<html id="a">
<script>
function go() {
var b = document.createElement("base");
b.href = "h:";
a.appendChild(b);
c.setAttribute("filter", "url(#d)");
}
</script>
<body onload=go()>
<svg>
<filter id="d" href="x" />
<line id="c" />