blob: 3edc8d223c10898ac6e68954262a3a77ab390bf7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<script>
function boom()
{
document.getElementById("u").setAttribute("width", "30");
document.getElementById("p").remove();
}
window.addEventListener("load", boom);
</script>
<symbol id="p" viewBox="0 0 100 20"/>
<use id="u" xlink:href="#p"/>
</svg>
|