<!DOCTYPE html>
<svg width="200" height="200">
  <rect width="100" height="100" transform="translate(100,0)" fill="green">
    <animateTransform attributeName="transform" additive="sum" type="scale" to="2" dur="2" fill="freeze"></animateTransform>
  </rect>
</svg>
<script>
window.onload = function() {
  var root = document.querySelector('svg');
  root.pauseAnimations();
  root.setCurrentTime(2);
};
</script>
