<html xmlns:t ="urn:schemas-microsoft-com:time" >







<head>







<style>







	 .time    { behavior: url(#default#time2);}







</style>







<?IMPORT namespace="t" implementation="#default#time2">







<script>







function startTimer(){ setInterval(doTimer,400);}







function doTimer(){ document.all.Timer.innerText =parseInt(document.body.currTimeState.activeTime) }







</script>







</head>







<body timecontainer="seq" onbegin="startTimer()" >







<font style="color:black; font-size:16"><b>







Timer:







<span id="Timer" >0</span>







</b></font>







<br><br>







<DIV align="left" style="position:absolute; top:40; left:300;"><pre>







Copyright: Copyright 1998-2001 W3C (MIT, INRIA, Keio), All Rights Reserved.
See http://www.w3.org/Consortium/Legal/.
Author: Aaron M. Cohen   







File Name: layout-showBackground2.smil







Media Components: 1 JPG







Expected Behavior: Tests showBackground = whenActive.







nothing is shown for 2s.







smile is shown for 2s with blue surround (on the right and bottom).







nothing is shown again.







<t:par dur="10s">







<t:img style="width:100;height:100" region="r" src="../images/smile.jpg" begin="2s" dur="2s" />







</t:par>







</pre>







</DIV>















<head>







<layout type="text/smil-basic-layout">







<root-layout width="640" height="480" />







<region id="r" top="15%" left="15%" height="60%" width="60%"







showBackground="whenActive" backgroundColor="blue" />







</layout>







</head>







<t:par dur="10s">







<t:img style="width:100;height:100" region="r" src="../images/smile.jpg" begin="2s" dur="2s" />







</t:par>







</body>







</html>