<?xml version="1.0"?> <svg xmlns="http://www.w3.org/2000/svg" class="reftest-wait"> <script> <![CDATA[ window.addEventListener("load", boom, false); function boom() { setTimeout(bang, 0); } function bang() { document.documentElement.setCurrentTime(0); document.documentElement.removeAttribute("class"); } ]]> </script> <animate id="b"/> <animate end="b.end"/> </svg>