<svg xmlns="http://www.w3.org/2000/svg">
<script>
window.addEventListener("load", function() {
  setTimeout(function() { 
    document.getElementById("a").style.MozAnimationName = "a";
  }, 0);
}, false);
</script>
<rect id="a"><animate attributeName="fill" by="#AAF573"/></rect>
</svg>