<?xml version="1.1" encoding="UTF-8" ?>
<!DOCTYPE smil PUBLIC "-//W3C//DTD SMIL 3.0 Language//EN" "http://www.w3.org/2008/SMIL30/SMIL30Language.dtd">

<!--
Copyright: Copyright 1998-2008 W3C (MIT, ERCIM, Keio), All Rights Reserved.
See http://www.w3.org/Consortium/Legal/2008/04-testsuite-license.
Author: Eric Hyche (RealNetworks, Inc.)
Version: November 21, 2007
Chapter: SMIL 3.0 Media Object
Module: MediaOpacity
Feature: mediaOpacity attribute
File Name: mediaObject-mediaOpacity1.smil
Expected Behavior: We have a 640x480 root-layout with a white backgroundColor, on which 4 regions are laid out.
                   In the upper-left region, we display the smile image with a mediaOpacity of 25%. In
                   the upper-right region, we display the smile image with a mediaOpacity of 50%. In the
                   lower-left region, we display the smile image with a mediaOpacity of 75%. In the
                   lower-right region, we display the smile image with a mediaOpacity of 100%.

-->

<smil xmlns="http://www.w3.org/ns/SMIL" version="3.0" baseProfile="Language">
    <head>
        <layout>
            <root-layout width="640" height="480" backgroundColor="white"/>
            <region xml:id="reg1" left="0"   top="0"   width="320" height="240"/>
            <region xml:id="reg2" left="320" top="0"   width="320" height="240"/>
            <region xml:id="reg3" left="0"   top="240" width="320" height="240"/>
            <region xml:id="reg4" left="320" top="240" width="320" height="240"/>
        </layout>
    </head>
    <body>
        <par>
            <img src="smile.jpg" region="reg1" dur="10s" mediaOpacity="25%"/>
            <img src="smile.jpg" region="reg2" dur="10s" mediaOpacity="50%"/>
            <img src="smile.jpg" region="reg3" dur="10s" mediaOpacity="75%"/>
            <img src="smile.jpg" region="reg4" dur="10s" mediaOpacity="100%"/>
        </par>
    </body>
</smil>
