layout/svg/crashtests/344887-1.svg

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/svg/crashtests/344887-1.svg	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,18 @@
     1.4 +<svg xmlns="http://www.w3.org/2000/svg" xmlns:html="http://www.w3.org/1999/xhtml" onload="setTimeout(foo, 30);" class="reftest-wait">
     1.5 +
     1.6 +<script>
     1.7 +
     1.8 +var SVG_NS = "http://www.w3.org/2000/svg";
     1.9 +
    1.10 +function foo()
    1.11 +{
    1.12 +  var rect = document.createElementNS(SVG_NS, 'rect'); 
    1.13 +  rect.setAttribute('opacity', ".3"); 
    1.14 +  document.documentElement.appendChild(rect);
    1.15 +  document.documentElement.removeAttribute("class");
    1.16 +}
    1.17 +
    1.18 +</script>
    1.19 +
    1.20 +
    1.21 +</svg>
    1.22 \ No newline at end of file

mercurial