--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/testsuite/Content/Br001.xml Mon Nov 17 14:40:44 2008 +0000
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="utf-8"?>
+<tt xml:lang="en"
+ xmlns="http://www.w3.org/2006/10/ttaf1"
+ xmlns:tts="http://www.w3.org/2006/10/ttaf1#style"
+ xmlns:ttm="http://www.w3.org/2006/10/ttaf1#metadata">
+ <head>
+ <metadata>
+ <ttm:title>Content Test - Br - 001</ttm:title>
+ <ttm:descr>Test the br element.</ttm:descr>
+ <ttm:copyright>Copyright (C) 2008 W3C (MIT, ERCIM, Keio).</ttm:copyright>
+ </metadata>
+ </head>
+ <body>
+ <div>
+ <p begin="0s" end="10s">This text must be appear<br/>on two lines.</p>
+ </div>
+ </body>
+</tt>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/testsuite/Content/Paragraph001.xml Mon Nov 17 14:40:44 2008 +0000
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="utf-8"?>
+<tt xml:lang="en"
+ xmlns="http://www.w3.org/2006/10/ttaf1"
+ xmlns:tts="http://www.w3.org/2006/10/ttaf1#style"
+ xmlns:ttm="http://www.w3.org/2006/10/ttaf1#metadata">
+ <head>
+ <metadata>
+ <ttm:title>Content Test - Paragraph - 001</ttm:title>
+ <ttm:descr>Test the p element with no styling attribute.</ttm:descr>
+ <ttm:copyright>Copyright (C) 2008 W3C (MIT, ERCIM, Keio).</ttm:copyright>
+ </metadata>
+ </head>
+ <body>
+ <div>
+ <p begin="0s" end="10s">This text must be visible.</p>
+ </div>
+ </body>
+</tt>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/testsuite/Content/Paragraph002.xml Mon Nov 17 14:40:44 2008 +0000
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="utf-8"?>
+<tt xml:lang="en"
+ xmlns="http://www.w3.org/2006/10/ttaf1"
+ xmlns:tts="http://www.w3.org/2006/10/ttaf1#style"
+ xmlns:ttm="http://www.w3.org/2006/10/ttaf1#metadata">
+ <head>
+ <metadata>
+ <ttm:title>Content Test - Paragraph - 002</ttm:title>
+ <ttm:descr>Test the p element with no timing attributes (nothing is displayed).</ttm:descr>
+ <ttm:copyright>Copyright (C) 2008 W3C (MIT, ERCIM, Keio).</ttm:copyright>
+ </metadata>
+ </head>
+ <body>
+ <div>
+ <p>This text must not be visible.</p>
+ </div>
+ </body>
+</tt>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/testsuite/Content/Paragraph003.xml Mon Nov 17 14:40:44 2008 +0000
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="utf-8"?>
+<tt xml:lang="en"
+ xmlns="http://www.w3.org/2006/10/ttaf1"
+ xmlns:tts="http://www.w3.org/2006/10/ttaf1#style"
+ xmlns:ttm="http://www.w3.org/2006/10/ttaf1#metadata">
+ <head>
+ <metadata>
+ <ttm:title>Content Test - Paragraph - 003</ttm:title>
+ <ttm:descr>Test the p element with styling and timing attributes.</ttm:descr>
+ <ttm:copyright>Copyright (C) 2008 W3C (MIT, ERCIM, Keio).</ttm:copyright>
+ </metadata>
+ </head>
+ <body>
+ <div>
+ <p begin="0s" end="10s" tts:color='red'>This text must be red.</p>
+ </div>
+ </body>
+</tt>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/testsuite/Content/Span001.xml Mon Nov 17 14:40:44 2008 +0000
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="utf-8"?>
+<tt xml:lang="en"
+ xmlns="http://www.w3.org/2006/10/ttaf1"
+ xmlns:tts="http://www.w3.org/2006/10/ttaf1#style"
+ xmlns:ttm="http://www.w3.org/2006/10/ttaf1#metadata">
+ <head>
+ <metadata>
+ <ttm:title>Content Test - Span - 001</ttm:title>
+ <ttm:descr>Test the span element with no attributes.</ttm:descr>
+ <ttm:copyright>Copyright (C) 2008 W3C (MIT, ERCIM, Keio).</ttm:copyright>
+ </metadata>
+ </head>
+ <body>
+ <div>
+ <p begin="0s" end="10s">This text must be <span>visible</span>.</p>
+ </div>
+ </body>
+</tt>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/testsuite/Content/Span002.xml Mon Nov 17 14:40:44 2008 +0000
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="utf-8"?>
+<tt xml:lang="en"
+ xmlns="http://www.w3.org/2006/10/ttaf1"
+ xmlns:tts="http://www.w3.org/2006/10/ttaf1#style"
+ xmlns:ttm="http://www.w3.org/2006/10/ttaf1#metadata">
+ <head>
+ <metadata>
+ <ttm:title>Content Test - Span - 002</ttm:title>
+ <ttm:descr>Test the span element with a styling attribute.</ttm:descr>
+ <ttm:copyright>Copyright (C) 2008 W3C (MIT, ERCIM, Keio).</ttm:copyright>
+ </metadata>
+ </head>
+ <body>
+ <div>
+ <p begin="0s" end="10s">This word must be <span tts:color='red'>red</span>.</p>
+ </div>
+ </body>
+</tt>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/testsuite/Content/Span003.xml Mon Nov 17 14:40:44 2008 +0000
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="utf-8"?>
+<tt xml:lang="en"
+ xmlns="http://www.w3.org/2006/10/ttaf1"
+ xmlns:tts="http://www.w3.org/2006/10/ttaf1#style"
+ xmlns:ttm="http://www.w3.org/2006/10/ttaf1#metadata">
+ <head>
+ <metadata>
+ <ttm:title>Content Test - Span - 003</ttm:title>
+ <ttm:descr>Test the span element inside a span element.</ttm:descr>
+ <ttm:copyright>Copyright (C) 2008 W3C (MIT, ERCIM, Keio).</ttm:copyright>
+ </metadata>
+ </head>
+ <body>
+ <div>
+ <p begin="0s" end="10s"><span tts:color='red'><span tts:color='green'>This text must be green.</span></span></p>
+ </div>
+ </body>
+</tt>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/testsuite/Content/Span004.xml Mon Nov 17 14:40:44 2008 +0000
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="utf-8"?>
+<tt xml:lang="en"
+ xmlns="http://www.w3.org/2006/10/ttaf1"
+ xmlns:tts="http://www.w3.org/2006/10/ttaf1#style"
+ xmlns:ttm="http://www.w3.org/2006/10/ttaf1#metadata">
+ <head>
+ <metadata>
+ <ttm:title>Content Test - Span - 004</ttm:title>
+ <ttm:descr>Test the span element inside a span element.</ttm:descr>
+ <ttm:copyright>Copyright (C) 2008 W3C (MIT, ERCIM, Keio).</ttm:copyright>
+ </metadata>
+ </head>
+ <body>
+ <div>
+ <p begin="0s" end="10s">Some of this text must <span tts:color='red'>red <span tts:color='white'>and</span> <span tts:color='green'>green</span></span>.</p>
+ </div>
+ </body>
+</tt>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/testsuite/Content/Span005.xml Mon Nov 17 14:40:44 2008 +0000
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="utf-8"?>
+<tt xml:lang="en"
+ xmlns="http://www.w3.org/2006/10/ttaf1"
+ xmlns:tts="http://www.w3.org/2006/10/ttaf1#style"
+ xmlns:ttm="http://www.w3.org/2006/10/ttaf1#metadata">
+ <head>
+ <metadata>
+ <ttm:title>Content Test - Span - 005</ttm:title>
+ <ttm:descr>Test the br element inside a span element.</ttm:descr>
+ <ttm:copyright>Copyright (C) 2008 W3C (MIT, ERCIM, Keio).</ttm:copyright>
+ </metadata>
+ </head>
+ <body>
+ <div>
+ <p begin="0s" end="10s">This text must <span tts:color='white'>appear<br />on two lines.</span></p>
+ </div>
+ </body>
+</tt>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/testsuite/Makefile Mon Nov 17 14:40:44 2008 +0000
@@ -0,0 +1,8 @@
+
+main: filelist
+
+filelist:
+ generate_filelist.xml.sh
+
+tests: filelist
+ xsltproc generate_tests.js.xslt filelist.xml > tests.js
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/testsuite/Specification/DocumentExample120.xml Mon Nov 17 14:40:44 2008 +0000
@@ -0,0 +1,73 @@
+<?xml version="1.0" encoding="utf-8"?>
+<tt xml:lang="en"
+ xmlns="http://www.w3.org/2006/10/ttaf1"
+ xmlns:tts="http://www.w3.org/2006/10/ttaf1#style"
+ xmlns:ttm="http://www.w3.org/2006/10/ttaf1#metadata">
+ <head>
+ <metadata>
+ <ttm:title>Specification Test - DocumentExample - 120</ttm:title>
+ <ttm:descr>This test contains the document example from the
+ section 1.2 of the DFXP 1.0 specification, without the layout
+ region.</ttm:descr>
+ <ttm:copyright>Copyright (C) 2008 W3C (MIT, ERCIM, Keio).</ttm:copyright>
+ <styling xmlns:tts="http://www.w3.org/2006/10/ttaf1#style">
+ <!-- s1 specifies default color, font, and text alignment -->
+ <style xml:id="s1"
+ tts:color="white"
+ tts:fontFamily="proportionalSansSerif"
+ tts:fontSize="22px"
+ tts:textAlign="center"
+ />
+ <!-- alternative using yellow text but otherwise the same as style s1 -->
+ <style xml:id="s2" style="s1" tts:color="yellow"/>
+ <!-- a style based on s1 but justified to the right -->
+ <style xml:id="s1Right" style="s1" tts:textAlign="end" />
+ <!-- a style based on s2 but justified to the left -->
+ <style xml:id="s2Left" style="s2" tts:textAlign="start" />
+ </styling>
+ </metadata>
+ </head>
+ <body>
+ <div>
+ <p xml:id="subtitle1" begin="0.76s" end="3.45s">
+ It seems a paradox, does it not,
+ </p>
+ <p xml:id="subtitle2" begin="5.0s" end="10.0s">
+ that the image formed on<br/>
+ the Retina should be inverted?
+ </p>
+ <p xml:id="subtitle3" begin="10.0s" end="16.0s" style="s2">
+ It is puzzling, why is it<br/>
+ we do not see things upside-down?
+ </p>
+ <p xml:id="subtitle4" begin="17.2s" end="23.0s">
+ You have never heard the Theory,<br/>
+ then, that the Brain also is inverted?
+ </p>
+ <p xml:id="subtitle5" begin="23.0s" end="27.0s" style="s2">
+ No indeed! What a beautiful fact!
+ </p>
+ <p xml:id="subtitle6a" begin="28.0s" end="34.6s" style="s2Left">
+ But how is it proved?
+ </p>
+ <p xml:id="subtitle6b" begin="28.0s" end="34.6s" style="s1Right">
+ Thus: what we call
+ </p>
+ <p xml:id="subtitle7" begin="34.6s" end="45.0s" style="s1Right">
+ the vertex of the Brain<br/>
+ is really its base
+ </p>
+ <p xml:id="subtitle8" begin="45.0s" end="52.0s" style="s1Right">
+ and what we call its base<br/>
+ is really its vertex,
+ </p>
+ <p xml:id="subtitle9a" begin="53.5s" end="58.7s">
+ it is simply a question of nomenclature.
+ </p>
+ <p xml:id="subtitle9b" begin="53.5s" end="58.7s" style="s2">
+ How truly delightful!
+ </p>
+ </div>
+ </body>
+</tt>
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/testsuite/Specification/DocumentExample822.xml Mon Nov 17 14:40:44 2008 +0000
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="utf-8"?>
+<tt xml:lang="en"
+ xmlns="http://www.w3.org/2006/10/ttaf1"
+ xmlns:tts="http://www.w3.org/2006/10/ttaf1#style"
+ xmlns:ttm="http://www.w3.org/2006/10/ttaf1#metadata">
+ <head>
+ <metadata>
+ <ttm:title>Specification Test - DocumentExample - 822</ttm:title>
+ <ttm:descr>This test contains the document example from the
+ section 8.2.2 of the DFXP 1.0 specification, with the
+ region replacing with a styling.</ttm:descr>
+ <ttm:copyright>Copyright (C) 2008 W3C (MIT, ERCIM, Keio).</ttm:copyright>
+ </metadata>
+ </head>
+ <body>
+ <div>
+ <p begin='0s' end='10s' tts:backgroundColor="purple" tts:textAlign="center">
+ Twinkle, twinkle, little bat!<br/>
+ How <span tts:backgroundColor="green">I wonder</span> where you're at!
+ </p>
+ </div>
+ </body>
+</tt>
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/testsuite/Specification/DocumentExample823.xml Mon Nov 17 14:40:44 2008 +0000
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="utf-8"?>
+<tt xml:lang="en"
+ xmlns="http://www.w3.org/2006/10/ttaf1"
+ xmlns:tts="http://www.w3.org/2006/10/ttaf1#style"
+ xmlns:ttm="http://www.w3.org/2006/10/ttaf1#metadata">
+ <head>
+ <metadata>
+ <ttm:title>Specification Test - DocumentExample - 823</ttm:title>
+ <ttm:descr>This test contains the document example from the
+ section 8.2.3 of the DFXP 1.0 specification, with the
+ region replacing with a styling.</ttm:descr>
+ <ttm:copyright>Copyright (C) 2008 W3C (MIT, ERCIM, Keio).</ttm:copyright>
+ <styling xml:id="r1">
+ <style tts:backgroundColor="black"/>
+ <style tts:color="white"/>
+ <style tts:displayAlign="after"/>
+ <style tts:textAlign="center"/>
+ </styling>
+ </metadata>
+ </head>
+ <body>
+ <div>
+ <p begin='0s' end='10s' style="r1">
+ In spring, when woods are <span tts:color="green">getting green</span>,<br/>
+ I'll try and tell you what I mean.
+ </p>
+ </div>
+ </body>
+</tt>
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/testsuite/Specification/DocumentExample824.xml Mon Nov 17 14:40:44 2008 +0000
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="utf-8"?>
+<tt xml:lang="en"
+ xmlns="http://www.w3.org/2006/10/ttaf1"
+ xmlns:tts="http://www.w3.org/2006/10/ttaf1#style"
+ xmlns:ttm="http://www.w3.org/2006/10/ttaf1#metadata">
+ <head>
+ <metadata>
+ <ttm:title>Specification Test - DocumentExample - 824</ttm:title>
+ <ttm:descr>This test contains the document example from the
+ section 8.2.4 of the DFXP 1.0 specification, with the
+ region replacing with a styling.</ttm:descr>
+ <ttm:copyright>Copyright (C) 2008 W3C (MIT, ERCIM, Keio).</ttm:copyright>
+ <styling xml:id="r1">
+ <style tts:extent="265px 84px"/>
+ <style tts:padding="5px"/>
+ <style tts:backgroundColor="black"/>
+ <style tts:color="white"/>
+ <style tts:displayAlign="after"/>
+ <style tts:textAlign="center"/>
+ </styling>
+ </metadata>
+ </head>
+ <body>
+ <div>
+<p begin='0s' end='10s' style="r1">
+ Little birds are playing<br/>
+ Bagpipes on the shore,<br/>
+ <span tts:unicodeBidi="bidiOverride" tts:direction="rtl">where the tourists snore.</span>
+</p>
+ </div>
+ </body>
+</tt>
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/testsuite/Specification/DocumentExample825.xml Mon Nov 17 14:40:44 2008 +0000
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="utf-8"?>
+<tt xml:lang="en"
+ xmlns="http://www.w3.org/2006/10/ttaf1"
+ xmlns:tts="http://www.w3.org/2006/10/ttaf1#style"
+ xmlns:ttm="http://www.w3.org/2006/10/ttaf1#metadata">
+ <head>
+ <metadata>
+ <ttm:title>Specification Test - DocumentExample - 825</ttm:title>
+ <ttm:descr>This test contains the document example from the
+ section 8.2.5 of the DFXP 1.0 specification, with the
+ region replacing with a styling.</ttm:descr>
+ <ttm:copyright>Copyright (C) 2008 W3C (MIT, ERCIM, Keio).</ttm:copyright>
+ <styling xml:id="r1">
+ <style tts:extent="369px 119px"/>
+ <style tts:backgroundColor="black"/>
+ <style tts:color="white"/>
+ <style tts:displayAlign="before"/>
+ <style tts:textAlign="start"/>
+ </styling>
+ </metadata>
+ </head>
+ <body>
+ <div>
+ <p dur='5s' style="r1">
+ [[[
+ <span tts:display="none">
+ <set begin="1s" dur="1s" tts:display="auto"/>
+ Beautiful soup,
+ </span>
+ <span tts:display="none">
+ <set begin="2s" dur="1s" tts:display="auto"/>
+ so rich and green,
+ </span>
+ <span tts:display="none">
+ <set begin="3s" dur="1s" tts:display="auto"/>
+ waiting in a hot tureen!
+ </span>
+ ]]]
+ </p>
+ </div>
+ </body>
+</tt>
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/testsuite/Styling/Color001.xml Mon Nov 17 14:40:44 2008 +0000
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="utf-8"?>
+<tt xml:lang="en"
+ xmlns="http://www.w3.org/2006/10/ttaf1"
+ xmlns:tts="http://www.w3.org/2006/10/ttaf1#style"
+ xmlns:ttm="http://www.w3.org/2006/10/ttaf1#metadata">
+ <head>
+ <metadata>
+ <ttm:title>Styling Test - Color - 001</ttm:title>
+ <ttm:descr>Test tts:color attribute using a named color expression.</ttm:descr>
+ <ttm:copyright>Copyright (C) 2008 W3C (MIT, ERCIM, Keio).</ttm:copyright>
+ </metadata>
+ </head>
+ <body>
+ <div>
+ <p tts:color="red" begin="0s" end="10s">This text must be red.</p>
+ </div>
+ </body>
+</tt>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/testsuite/Styling/Color002.xml Mon Nov 17 14:40:44 2008 +0000
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<tt xml:lang="en"
+ xmlns="http://www.w3.org/2006/10/ttaf1"
+ xmlns:tts="http://www.w3.org/2006/10/ttaf1#style"
+ xmlns:ttm="http://www.w3.org/2006/10/ttaf1#metadata">
+ <head>
+ <metadata>
+ <ttm:title>Styling Test - Color - 002</ttm:title>
+ <ttm:descr>Test tts:color attribute using a hash (#rrggbb) color expression.</ttm:descr>
+ <ttm:copyright>Copyright (C) 2008 W3C (MIT, ERCIM, Keio).</ttm:copyright>
+ </metadata>
+ </head>
+ <body>
+ <div>
+ <p tts:color="#0000ff" begin="0s" end="10s">This text must be blue.</p>
+ </div>
+ </body>
+</tt>
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/testsuite/Styling/Color003.xml Mon Nov 17 14:40:44 2008 +0000
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<tt xml:lang="en"
+ xmlns="http://www.w3.org/2006/10/ttaf1"
+ xmlns:tts="http://www.w3.org/2006/10/ttaf1#style"
+ xmlns:ttm="http://www.w3.org/2006/10/ttaf1#metadata">
+ <head>
+ <metadata>
+ <ttm:title>Styling Test - Color - 003</ttm:title>
+ <ttm:descr>Test tts:color attribute using a hash (#rrggbbaa) color expression with opacity.</ttm:descr>
+ <ttm:copyright>Copyright (C) 2008 W3C (MIT, ERCIM, Keio).</ttm:copyright>
+ </metadata>
+ </head>
+ <body>
+ <div>
+ <p begin="0s" end="10s"><span tts:color="#0000ff">This is the blue color as a reference.</span><br /><span tts:color="#0000ff88">This text must be semi-transparent blue.</span></p>
+ </div>
+ </body>
+</tt>
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/testsuite/Styling/Color004.xml Mon Nov 17 14:40:44 2008 +0000
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<tt xml:lang="en"
+ xmlns="http://www.w3.org/2006/10/ttaf1"
+ xmlns:tts="http://www.w3.org/2006/10/ttaf1#style"
+ xmlns:ttm="http://www.w3.org/2006/10/ttaf1#metadata">
+ <head>
+ <metadata>
+ <ttm:title>Styling Test - Color - 004</ttm:title>
+ <ttm:descr>Test tts:color attribute using a rgb() color function.</ttm:descr>
+ <ttm:copyright>Copyright (C) 2008 W3C (MIT, ERCIM, Keio).</ttm:copyright>
+ </metadata>
+ </head>
+ <body>
+ <div>
+ <p tts:color="rgb(0,255,0)" begin="0s" end="10s">This text must be green.</p>
+ </div>
+ </body>
+</tt>
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/testsuite/Styling/Color005.xml Mon Nov 17 14:40:44 2008 +0000
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<tt xml:lang="en"
+ xmlns="http://www.w3.org/2006/10/ttaf1"
+ xmlns:tts="http://www.w3.org/2006/10/ttaf1#style"
+ xmlns:ttm="http://www.w3.org/2006/10/ttaf1#metadata">
+ <head>
+ <metadata>
+ <ttm:title>Styling Test - Color - 005</ttm:title>
+ <ttm:descr>Test tts:color attribute using a rgba() color function.</ttm:descr>
+ <ttm:copyright>Copyright (C) 2008 W3C (MIT, ERCIM, Keio).</ttm:copyright>
+ </metadata>
+ </head>
+ <body>
+ <div>
+ <p begin="0s" end="10s"><span tts:color="rgb(0,255,0)">This is the green color as a reference.</span><br/><span tts:color="rgba(0,255,0,128)">This text must be semi-transparent green.</span></p>
+ </div>
+ </body>
+</tt>
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/testsuite/Styling/Color007.xml Mon Nov 17 14:40:44 2008 +0000
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="utf-8"?>
+<tt xml:lang="en"
+ xmlns="http://www.w3.org/2006/10/ttaf1"
+ xmlns:tts="http://www.w3.org/2006/10/ttaf1#style"
+ xmlns:ttm="http://www.w3.org/2006/10/ttaf1#metadata">
+ <head>
+ <metadata>
+ <ttm:title>Styling Test - Color - 007</ttm:title>
+ <ttm:descr>Test tts:color attribute using a transparent value.</ttm:descr>
+ <ttm:copyright>Copyright (C) 2008 W3C (MIT, ERCIM, Keio).</ttm:copyright>
+ </metadata>
+ </head>
+ <body>
+ <div>
+ <p tts:color="red" begin="0s" end="10s">You must not see the word "<span tts:color='transparent'>transparent</span>".</p>
+ </div>
+ </body>
+</tt>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/testsuite/Styling/Color008.xml Mon Nov 17 14:40:44 2008 +0000
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<tt xml:lang="en"
+ xmlns="http://www.w3.org/2006/10/ttaf1"
+ xmlns:tts="http://www.w3.org/2006/10/ttaf1#style"
+ xmlns:ttm="http://www.w3.org/2006/10/ttaf1#metadata">
+ <head>
+ <metadata>
+ <ttm:title>Styling Test - Color - 008</ttm:title>
+ <ttm:descr>Test tts:color attribute with span elements.</ttm:descr>
+ <ttm:copyright>Copyright (C) 2008 W3C (MIT, ERCIM, Keio).</ttm:copyright>
+ </metadata>
+ </head>
+ <body>
+ <div>
+ <p begin="0s" end="10s">This word must be <span tts:color='blue'>blue</span><br />and this one <span tts:color='green'>green</span>.</p>
+ </div>
+ </body>
+</tt>
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/testsuite/Styling/Color009.xml Mon Nov 17 14:40:44 2008 +0000
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<tt xml:lang="en" xmlns="http://www.w3.org/2006/10/ttaf1" xmlns:tts="http://www.w3.org/2006/10/ttaf1#style" xmlns:ttm="http://www.w3.org/2006/10/ttaf1#metadata">
+ <head>
+ <metadata>
+ <ttm:title>Styling Test - Color - 009</ttm:title>
+ <ttm:descr>Test tts:color style using a named color expression.</ttm:descr>
+ <ttm:copyright>Copyright (C) 2008 W3C (MIT, ERCIM, Keio). All Rights Reserved.</ttm:copyright>
+ </metadata>
+ <styling>
+ <style xml:id="s1" tts:color="red" tts:backgroundColor="black" tts:textAlign="center" />
+ </styling>
+ </head>
+ <body>
+ <div style="s1">
+ <p begin="0s" end="10s">This text must be red.</p>
+ </div>
+ </body>
+</tt>
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/testsuite/Timing/BeginDur001.xml Mon Nov 17 14:40:44 2008 +0000
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="utf-8"?>
+<tt xml:lang="en"
+ xmlns="http://www.w3.org/2006/10/ttaf1"
+ xmlns:tts="http://www.w3.org/2006/10/ttaf1#style"
+ xmlns:ttm="http://www.w3.org/2006/10/ttaf1#metadata">
+ <head>
+ <metadata>
+ <ttm:title>Timing Test - BeginEnd - 001</ttm:title>
+ <ttm:descr>Test the begin and dur attributes on p elements.</ttm:descr>
+ <ttm:copyright>Copyright (C) 2008 W3C (MIT, ERCIM, Keio).</ttm:copyright>
+ </metadata>
+ </head>
+ <body>
+ <div>
+ <p begin='0s' dur='6s'>This test is going to display a message<br />every other second.</p>
+ <p begin='6s' dur='1s'>From 6s to 7s,</p>
+ <p begin='8s' dur='1s'>from 8s to 9s,</p>
+ <p begin='10s' dur='1s'>from 10s to 11s,</p>
+ <p begin='12s' dur='1s'>from 12s to 13s,</p>
+ <p begin='14s' dur='1s'>from 14s to 15s,</p>
+ <p begin='16s' dur='1s'>from 16s to 17s,</p>
+ <p begin='18s' dur='1s'>and, from 18s to 19s.</p>
+ <p begin='20s' dur='5s'>This test is over.</p>
+ </div>
+ </body>
+</tt>
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/testsuite/Timing/BeginEnd001.xml Mon Nov 17 14:40:44 2008 +0000
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="utf-8"?>
+<tt xml:lang="en"
+ xmlns="http://www.w3.org/2006/10/ttaf1"
+ xmlns:tts="http://www.w3.org/2006/10/ttaf1#style"
+ xmlns:ttm="http://www.w3.org/2006/10/ttaf1#metadata">
+ <head>
+ <metadata>
+ <ttm:title>Timing Test - BeginEnd - 001</ttm:title>
+ <ttm:descr>Test the begin and end attributes on p elements.</ttm:descr>
+ <ttm:copyright>Copyright (C) 2008 W3C (MIT, ERCIM, Keio).</ttm:copyright>
+ </metadata>
+ </head>
+ <body>
+ <div>
+ <p begin='0s' end='6s'>This test is going to display a message<br />every other second.</p>
+ <p begin='6s' end='7s'>From 6s to 7s,</p>
+ <p begin='8s' end='9s'>from 8s to 9s,</p>
+ <p begin='10s' end='11s'>from 10s to 11s,</p>
+ <p begin='12s' end='13s'>from 12s to 13s,</p>
+ <p begin='14s' end='15s'>from 14s to 15s,</p>
+ <p begin='16s' end='17s'>from 16s to 17s,</p>
+ <p begin='18s' end='19s'>and, from 18s to 19s.</p>
+ <p begin='20s' end='25s'>This test is over.</p>
+ </div>
+ </body>
+</tt>
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/testsuite/Timing/BeginEnd002.xml Mon Nov 17 14:40:44 2008 +0000
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="utf-8"?>
+<tt xml:lang="en"
+ xmlns="http://www.w3.org/2006/10/ttaf1"
+ xmlns:tts="http://www.w3.org/2006/10/ttaf1#style"
+ xmlns:ttm="http://www.w3.org/2006/10/ttaf1#metadata">
+ <head>
+ <metadata>
+ <ttm:title>Timing Test - Begin - 002</ttm:title>
+ <ttm:descr>Test the begin attribute with no end or dur attribute on p elements.</ttm:descr>
+ <ttm:copyright>Copyright (C) 2008 W3C (MIT, ERCIM, Keio).</ttm:copyright>
+ </metadata>
+ </head>
+ <body>
+ <div>
+ <p begin='0s'>This test counts from 0 to 10 in 10 seconds.<br/>0</p>
+ <p begin='1s'>This test counts from 0 to 10 in 10 seconds.<br/>1</p>
+ <p begin='2s'>This test counts from 0 to 10 in 10 seconds.<br/>2</p>
+ <p begin='3s'>This test counts from 0 to 10 in 10 seconds.<br/>3</p>
+ <p begin='4s'>This test counts from 0 to 10 in 10 seconds.<br/>4</p>
+ <p begin='5s'>This test counts from 0 to 10 in 10 seconds.<br/>5</p>
+ <p begin='6s'>This test counts from 0 to 10 in 10 seconds.<br/>6</p>
+ <p begin='7s'>This test counts from 0 to 10 in 10 seconds.<br/>7</p>
+ <p begin='8s'>This test counts from 0 to 10 in 10 seconds.<br/>8</p>
+ <p begin='9s'>This test counts from 0 to 10 in 10 seconds.<br/>9</p>
+ <p begin='10s'>This test counts from 0 to 10 in 10 seconds.<br/>10</p>
+ <p begin='11s' end='20s'>This test is over.</p>
+ </div>
+ </body>
+</tt>
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/testsuite/Timing/BeginEnd003.xml Mon Nov 17 14:40:44 2008 +0000
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="utf-8"?>
+<tt xml:lang="en"
+ xmlns="http://www.w3.org/2006/10/ttaf1"
+ xmlns:tts="http://www.w3.org/2006/10/ttaf1#style"
+ xmlns:ttm="http://www.w3.org/2006/10/ttaf1#metadata">
+ <head>
+ <metadata>
+ <ttm:title>Timing Test - BeginEnd - 003</ttm:title>
+ <ttm:descr>Test the begin and end attributes on p elements in random order. @@Is it a valid test?</ttm:descr>
+ <ttm:copyright>Copyright (C) 2008 W3C (MIT, ERCIM, Keio).</ttm:copyright>
+ </metadata>
+ </head>
+ <body>
+ <div>
+ <p begin='0s' end='6s'>This test is going to display a message<br />every other second.</p>
+ <p begin='18s' end='19s'>and, from 18s to 19s.</p>
+ <p begin='10s' end='11s'>from 10s to 11s,</p>
+ <p begin='14s' end='15s'>from 14s to 15s,</p>
+ <p begin='8s' end='9s'>from 8s to 9s,</p>
+ <p begin='6s' end='7s'>From 6s to 7s,</p>
+ <p begin='16s' end='17s'>from 16s to 17s,</p>
+ <p begin='12s' end='13s'>from 12s to 13s,</p>
+ <p begin='20s' end='25s'>This test is over.</p>
+ </div>
+ </body>
+</tt>
+