<!-- 
            Copyright: Copyright 1998-2005  W3C (MIT, ERCIM, Keio), All Rights Reserved.
See http://www.w3.org/Consortium/Legal/.
Author: Aaron Cohen (Intel)
           Version: February 7, 2001
            Module: Animation Module
           Feature: animation
         File Name: animation-targElt-BE-03.smil
  Media Components: none
 Expected Behavior: Two thick red bars 200 pixels high.
                    Left bar shrinks from bottom starting at 3s.
                    Stops shrinking at 6s when it is 50 pixels high.
                    At 6s right bar begins to shrink.
                    Stops shrinking at 9s when it is 50 pixels high.
-->
<smil xmlns="http://www.w3.org/2005/SMIL21/Language">
    <head>
        <layout>
            <root-layout width="640" height="480" backgroundColor="white"/>
            <region id="whole" width="640" height="480" z-index="0"/>
            <region id="theTarget1" top="99px" left="100px" height="200px" width="100px" backgroundColor="red" z-index="1"/>
            <region id="theTarget2" top="99px" left="325px" height="200px" width="100px" backgroundColor="red" z-index="1"/>
        </layout>
    </head>
    <body>
        <par dur="indefinite">
            <img src="../images/animation-targElt-BE-03.jpg" region="whole"/>
            <animate targetElement="theTarget1" attributeName="height" from="200" to="50" begin="3s" dur="3s" fill="freeze"/>
            <animate targetElement="theTarget2" attributeName="height" from="200" to="50" begin="6s" dur="3s" fill="freeze"/>
        </par>
    </body>
</smil>