animateTransform-repeat-once.svg   [plain text]


<svg xmlns='http://www.w3.org/2000/svg'>
  <rect fill='blue' width='100' height='100'>
    <animateTransform attributeName="transform" type='translate' from='0,0' to='100,0' dur='2s' repeatCount='2' fill='freeze' />
  </rect>
  <text x='10' y='120'>
    The rect should from 0,0 to 100,0 over 2 seconds, twice.
  </text>
</svg>