<!DOCTYPE HTML>
<html>
  <body>
    This test passes if it does not crash.<br/>
    <svg xmlns="http://www.w3.org/2000/svg" width="100" height="100">
      <rect>
        <set id="selfID" attributeName="x" begin="0s; selfID.end + 1s" dur="1s" repeatDur="indefinite"></set>
      </rect>
    </svg>
    <script>
        if (window.testRunner)
            testRunner.dumpAsText();
    </script>
  </body>
</html>
