gecko/layout/svg/crashtests/344887-1.svg

18 lines
421 B
XML
Raw Normal View History

2007-12-12 22:44:00 -08:00
<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>