Add animation support to Firefox. [Fix #55985378]