summaryrefslogtreecommitdiffstats
path: root/tests/par_timings.smil
diff options
context:
space:
mode:
Diffstat (limited to 'tests/par_timings.smil')
-rw-r--r--tests/par_timings.smil37
1 files changed, 37 insertions, 0 deletions
diff --git a/tests/par_timings.smil b/tests/par_timings.smil
new file mode 100644
index 0000000..f2f64f1
--- /dev/null
+++ b/tests/par_timings.smil
@@ -0,0 +1,37 @@
+<!-- test for timing for 'par' tags -->
+<smil>
+ <head>
+ <layout>
+ <root-layout width="320" height="240" background-color="green"/>
+ <region id="region1" left="5%" top="10%" right="5%" bottom="50%" z-index="2"/>
+ <region id="region2" left="25%" top="60%" right="10%" bottom="5%" z-index="3" background-color="red"/>
+ <region id="region3" z-index="4"/>
+ </layout>
+ </head>
+ <body>
+ <par id="par1" end="text1.inBoundsEvent">
+ <set target="par1" attribute="title" to="Mouse Inbound" fill="freeze"/>
+ <text id="text1" src="data:,par%20end%3Dtext1.inBoundsEvent%0D%0Atext%20dur%3Dindefinite%0D%0Amove%20here%20to%20end%20'par'" region="region1" dur="indefinite"/>
+ <text src="data:,dur%3D5s" region="region2" dur="5"/>
+ </par>
+ <par endsync="text2">
+ <text id="text2" src="data:,par%20endsync%3Dtext2%0D%0Atext%20dur%3D7s" region="region1" dur="7s"/>
+ <text src="data:,dur%3D5" region="region2" dur="5"/>
+ </par>
+ <par dur="7s">
+ <text src="data:,par%20dur%3D7s%0D%0Atext%20dur%3Dindefinite" region="region1" dur="indefinite"/>
+ <par begin="1">
+ <text src="data:,nested%20par%20begin%3D1%0D%0Atext%20dur%3D5" region="region2" dur="5"/>
+ </par>
+ </par>
+ <par end="7s">
+ <text src="data:,par%20end%3D7s%0D%0Atext%20dur%3Dindefinite" region="region1" dur="indefinite"/>
+ <text src="data:,dur%3D5" region="region2" dur="5"/>
+ </par>
+ <par>
+ <text src="data:,par%20no%20dur%20set%0D%0Atext%20dur%3D7" region="region1" dur="7"/>
+ <text src="data:,dur%3D5" region="region2" dur="5"/>
+ </par>
+ <text src="data:,that's%20all%20folks" title="Carrot time" region="region3" dur="2s" backgroundColor="black" fontColor="white"/>
+ </body>
+</smil>