mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-08 12:37:37 +00:00
28 lines
498 B
XML
28 lines
498 B
XML
|
<svg xmlns:xlink="http://www.w3.org/1999/xlink"
|
||
|
xmlns="http://www.w3.org/2000/svg"
|
||
|
onload="boom();">
|
||
|
|
||
|
<script type="text/javascript">
|
||
|
|
||
|
function boom()
|
||
|
{
|
||
|
var a = document.getElementById("a");
|
||
|
var b = document.getElementById("b");
|
||
|
var d = document.getElementById("d");
|
||
|
|
||
|
d.appendChild(b);
|
||
|
a.appendChild(document.createTextNode("A"));
|
||
|
}
|
||
|
|
||
|
</script>
|
||
|
|
||
|
<g id="a"></g>
|
||
|
|
||
|
<use xlink:href="#a" id="b"/>
|
||
|
|
||
|
<use xlink:href="#d">
|
||
|
<g id="d"/>
|
||
|
</use>
|
||
|
|
||
|
</svg>
|