gecko/dom/smil/crashtests/547333-1.svg

23 lines
540 B
XML
Raw Normal View History

2010-02-25 10:20:44 -08:00
<?xml version="1.0"?>
<svg xmlns="http://www.w3.org/2000/svg"
class="reftest-wait">
<script type="text/javascript">
<![CDATA[
function boom()
{
document.getElementsByTagName("animate")[0].setAttributeNS(null, "attributeName", "font-size");
document.getElementsByTagName("text")[0].setAttributeNS(null, "fill", "green");
document.documentElement.removeAttributeNS(null, "x");
document.documentElement.removeAttribute("class");
}
window.addEventListener("load", boom, false);
]]>
</script>
<text>abc<animate/></text>
</svg>