content/base/crashtests/474041-1.svg

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/content/base/crashtests/474041-1.svg	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,17 @@
     1.4 +<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" onload="boom();">
     1.5 +
     1.6 +<rect id="r"/><use id="u" xlink:href="#r"><rect id="r"/></use>
     1.7 +
     1.8 +<script type="text/javascript">
     1.9 +
    1.10 +function boom()
    1.11 +{
    1.12 +  var r1 = document.getElementsByTagName("rect")[0]; // the first node with id="r" 
    1.13 +  var use = document.getElementById("u");
    1.14 +  document.documentElement.insertBefore(use, r1);
    1.15 +  r1.appendChild(use);
    1.16 +}
    1.17 +
    1.18 +</script>
    1.19 +
    1.20 +</svg>

mercurial