<?xml version="1.1"?>
<!--
Copyright: Copyright 1998-2008  W3C (MIT, ERCIM, Keio), All Rights Reserved. See http://www.w3.org/Consortium/Legal/2008/04-testsuite-license.
Author: Sjoerd Mullender (CWI)
Version: January 10, 2008
Module: SMIL 3.0 Animation
Feature: discrete animation with fill="remove" repeatCount="2" and min
that is not a multiple of the simple duration
Expected Behavior:
3 seconds top-left
then repeated once (i.e. played twice):
 3 seconds bottom-left
 3 seconds bottom-middle
 3 seconds bottom-right
then 6 seconds top-left (3 seconds for min, 3 seconds for fill)
-->
<smil xmlns="http://www.w3.org/ns/SMIL" version="3.0" baseProfile="Language" xmlns:minmax="http://www.w3.org/2008/SMIL30/MinMaxTiming" systemRequired="minmax">
  <head>
    <layout>
      <root-layout width="150" height="200"/>
      <region xml:id="b" left="0" width="150" top="0" height="150" backgroundColor="purple"/>
      <region xml:id="t" left="0" width="150" top="150" height="50"/>
    </layout>
  </head>
  <body>
    <par>
      <par dur="27s">
        <brush xml:id="b1" region="b" dur="indefinite" color="yellow" top="0" left="0" width="50" height="50"/>
        <animateMotion begin="3s" dur="9s" repeatCount="2" min="21s" fill="remove" targetElement="b1" values="0,100;50,100;100,100" calcMode="discrete"/>
      </par>
      <seq>
        <text region="t" dur="3s" src="data:,3%20sec%20top-left"/>
        <text region="t" dur="3s" src="data:,3%20sec%20bottom-left"/>
        <text region="t" dur="3s" src="data:,3%20sec%20bottom-middle"/>
        <text region="t" dur="3s" src="data:,3%20sec%20bottom-right"/>
        <text region="t" dur="3s" src="data:,3%20sec%20bottom-left"/>
        <text region="t" dur="3s" src="data:,3%20sec%20bottom-middle"/>
        <text region="t" dur="3s" src="data:,3%20sec%20bottom-right"/>
        <text region="t" dur="6s" src="data:,6%20sec%20top-left"/>
      </seq>
    </par>
  </body>
</smil>
