gecko/content/smil/crashtests/541297-1.svg
Brian Birtles e6b1457fa1 Bug 541297 - SVG SMIL: Fix abort on sampling re-attached animation node, r=roc
--HG--
extra : rebase_source : 1f228522d818b31d336558f6a238660c2972b770
2010-05-25 09:38:25 +09:00

23 lines
507 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg"><svg id="w"><animate/></svg><script type="text/javascript">
<![CDATA[
function boom()
{
anim = document.createElementNS("http://www.w3.org/2000/svg", "animate");
document.documentElement.appendChild(anim);
document.documentElement.removeChild(anim);
setTimeout(t, 0);
function t()
{
document.getElementById("w").appendChild(anim);
}
}
window.addEventListener("load", boom, false);
]]>
</script></svg>