summaryrefslogtreecommitdiffstats
path: root/layout/svg/crashtests/344887-1.svg
blob: f0bd21c592eefb03cdbc3b94cfa90417945f037f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<svg xmlns="http://www.w3.org/2000/svg" xmlns:html="http://www.w3.org/1999/xhtml" onload="setTimeout(foo, 30);" class="reftest-wait">

<script>

var SVG_NS = "http://www.w3.org/2000/svg";

function foo()
{
  var rect = document.createElementNS(SVG_NS, 'rect'); 
  rect.setAttribute('opacity', ".3"); 
  document.documentElement.appendChild(rect);
  document.documentElement.removeAttribute("class");
}

</script>


</svg>