New test
authorPhilippe Le Hégaret <plh@w3.org>
Wed, 26 Nov 2008 14:50:46 +0000
changeset 27 5dce6848e67f
parent 26 a5b8ae0eaf59
child 28 7e5cf36bcff7
New test
testsuite/Styling/BackgroundColor001.xml
testsuite/Styling/BackgroundColor002.xml
testsuite/Styling/BackgroundColor003.xml
testsuite/Styling/BackgroundColor004.xml
testsuite/Styling/BackgroundColor005.xml
testsuite/Styling/BackgroundColor006.xml
testsuite/Styling/BackgroundColor007.xml
testsuite/Styling/BackgroundColor008.xml
testsuite/Styling/BackgroundColor009.xml
testsuite/Styling/Style001.xml
testsuite/Styling/Styling001.xml
testsuite/Styling/TextAlign001.xml
testsuite/Styling/TextAlign002.xml
testsuite/Styling/TextAlign003.xml
testsuite/Styling/TextAlign004.xml
testsuite/Styling/TextAlign005.xml
testsuite/Styling/TextAlign006.xml
testsuite/Styling/TextDecoration001.xml
testsuite/Styling/TextDecoration002.xml
testsuite/Styling/TextDecoration003.xml
testsuite/Styling/TextDecoration004.xml
testsuite/Styling/TextDecoration005.xml
testsuite/Styling/TextDecoration006.xml
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testsuite/Styling/BackgroundColor001.xml	Wed Nov 26 14:50:46 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 - backgroundColor - 001</ttm:title>
+      <ttm:descr>Test tts:backgroundColor attribute using a named color expression in a div.</ttm:descr>
+      <ttm:copyright>Copyright (C) 2008 W3C (MIT, ERCIM, Keio).</ttm:copyright>
+    </metadata>
+  </head>
+  <body>
+    <div tts:backgroundColor="green">
+      <p begin="0s" end="10s">The background is green.</p>
+    </div>
+  </body>
+</tt>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testsuite/Styling/BackgroundColor002.xml	Wed Nov 26 14:50:46 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 - backgroundColor - 002</ttm:title>
+      <ttm:descr>Test tts:backgroundColor attribute using a hash (#rrggbb) color expression in a div.</ttm:descr>
+      <ttm:copyright>Copyright (C) 2008 W3C (MIT, ERCIM, Keio).</ttm:copyright>
+    </metadata>
+  </head>
+  <body>
+    <div tts:backgroundColor="#00EE76">
+      <p begin="0s" end="10s">The background is light green.</p>
+    </div>
+  </body>
+</tt>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testsuite/Styling/BackgroundColor003.xml	Wed Nov 26 14:50:46 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 - backgroundColor - 003</ttm:title>
+      <ttm:descr>Test tts:backgroundColor attribute using a hash (#rrggbbaa) color expression with opacity on the body.</ttm:descr>
+      <ttm:copyright>Copyright (C) 2008 W3C (MIT, ERCIM, Keio).</ttm:copyright>
+    </metadata>
+  </head>
+  <body tts:backgroundColor="#00800050">
+    <div>
+      <p begin="0s" end="10s">The background is green with 50% opacity.  <span tts:color="green">This text is 100% green.</span></p>
+    </div>
+  </body>
+</tt>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testsuite/Styling/BackgroundColor004.xml	Wed Nov 26 14:50:46 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 - BackgroundColor - 004</ttm:title>
+      <ttm:descr>Test tts:backgroundColor attribute using a rgb() color function on the body.</ttm:descr>
+      <ttm:copyright>Copyright (C) 2008 W3C (MIT, ERCIM, Keio).</ttm:copyright>
+    </metadata>
+  </head>
+  <body tts:backgroundColor="rgb(255,0,255)">
+    <div>
+      <p begin="0s" end="10s">The background is magenta.</p>
+    </div>
+  </body>
+</tt>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testsuite/Styling/BackgroundColor005.xml	Wed Nov 26 14:50:46 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 - BackgroundColor - 005</ttm:title>
+      <ttm:descr>Test tts:backgroundColor attribute using a rgba() color function using a span.</ttm:descr>
+      <ttm:copyright>Copyright (C) 2008 W3C (MIT, ERCIM, Keio).</ttm:copyright>
+    </metadata>
+  </head>
+  <body tts:backgroundColor="rgb(255,0,255,50)">
+    <div>
+      <p begin="0s" end="10s">The background is magenta with 50% opacity.<br/><span tts:color="rgba(255,0,255)">This text is 100% magenta.</span></p>
+    </div>
+  </body>
+</tt>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testsuite/Styling/BackgroundColor006.xml	Wed Nov 26 14:50:46 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 - BackgroundColor - 006</ttm:title>
+      <ttm:descr>Test tts:backgroundColor attribute using a transparent value.</ttm:descr>
+      <ttm:copyright>Copyright (C) 2008 W3C (MIT, ERCIM, Keio).</ttm:copyright>
+    </metadata>
+  </head>
+  <body>
+    <div tts:backgroundColor="transparent">
+      <p begin="0s" end="10s">The background is transparent.</p>
+    </div>
+  </body>
+</tt>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testsuite/Styling/BackgroundColor007.xml	Wed Nov 26 14:50:46 2008 +0000
@@ -0,0 +1,22 @@
+<?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 - BackgroundColor - 007</ttm:title>
+      <ttm:descr>Test tts:backgroundColor using a named color expression on the div element.</ttm:descr>
+      <ttm:copyright>Copyright (C) 2008 W3C (MIT, ERCIM, Keio).</ttm:copyright>
+    </metadata>
+    <styling>
+      <style id="s1" tts:backgroundColor="green"/>
+    </styling>
+  </head>
+  <body>
+    <div style="s1" tts:backgroundColor="blue">
+      <p begin="0s" end="10s">The background color is blue.</p>
+    </div>
+  </body>
+</tt>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testsuite/Styling/BackgroundColor008.xml	Wed Nov 26 14:50:46 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 - BackgroundColor - 008</ttm:title>
+      <ttm:descr>Test tts:backgroundColor style using a named color expression in style.</ttm:descr>
+      <ttm:copyright>Copyright (C) 2008 W3C (MIT, ERCIM, Keio). All Rights Reserved.</ttm:copyright>
+    </metadata>
+    <styling>
+      <style id="s1" tts:backgroundColor="green"/>
+    </styling>
+  </head>
+  <body>
+    <div style="s1">
+      <p begin="0s" end="10s">The background is green.</p>
+    </div>
+  </body>
+</tt>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testsuite/Styling/BackgroundColor009.xml	Wed Nov 26 14:50:46 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 - BackgroundColor - 009</ttm:title>
+      <ttm:descr>Test tts:backgroundColor using a named color expression on the body.</ttm:descr>
+      <ttm:copyright>Copyright (C) 2008 W3C (MIT, ERCIM, Keio).</ttm:copyright>
+    </metadata>
+  </head>
+  <body tts:backgroundColor="magenta">
+    <div>
+      <p begin="0s" end="10s">The background color is magenta.</p>
+    </div>
+  </body>
+</tt>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testsuite/Styling/Style001.xml	Wed Nov 26 14:50:46 2008 +0000
@@ -0,0 +1,21 @@
+<?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 - style element - 001</ttm:title>
+      <ttm:descr>Test style attributes in the style element.</ttm:descr>
+      <ttm:copyright>Copyright (C) 2008 W3C (MIT, ERCIM, Keio).</ttm:copyright>
+    </metadata>
+    <styling>
+    	<style id="s1" tts:color="yellow" tts:textDecoration="none" tts:textAlign="center" tts:backgroundColor="blue" />
+    </styling>
+  </head>
+  <body>
+    <div style="s1">
+    	<p begin="0s" end="10s">This caption is aligned in the center, has a blue background and undecorated yellow text.</p>
+   	 </div>
+  </body>
+</tt>
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testsuite/Styling/Styling001.xml	Wed Nov 26 14:50:46 2008 +0000
@@ -0,0 +1,23 @@
+<?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 - styling element - 001</ttm:title>
+      <ttm:descr>Test two different styles in the style element.</ttm:descr>
+      <ttm:copyright>Copyright (C) 2008 W3C (MIT, ERCIM, Keio).</ttm:copyright>
+    </metadata>
+    <styling>
+    	<style id="s1" tts:color="red" tts:textDecoration="none" tts:textAlign="center" tts:backgroundColor="blue" />
+    	<style id="s2" tts:color="blue" tts:textDecoration="underline" tts:textAlign="left" tts:backgroundColor="green" />
+    </styling>
+  </head>
+  <body>
+    <div style="s1">
+    	<p begin="0s" end="5s">This caption is aligned in the center, has a blue background, red text and no decoration.</p>
+     	<p begin="5s" end="10s" style="s2">This caption is left aligned, has a green background and blue underlined text.</p>
+   	 </div>
+  </body>
+</tt>
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testsuite/Styling/TextAlign001.xml	Wed Nov 26 14:50:46 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 - TextAlign - 001</ttm:title>
+      <ttm:descr>Test tts:textAlign attribute with the right value in a paragraph.</ttm:descr>
+      <ttm:copyright>Copyright (C) 2008 W3C (MIT, ERCIM, Keio).</ttm:copyright>
+    </metadata>
+  </head>
+  <body>
+    <div>
+      <p begin="0s" end="10s" tts:textAlign="right">This caption is on the right.</p>
+    </div>
+  </body>
+</tt>
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testsuite/Styling/TextAlign002.xml	Wed Nov 26 14:50:46 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 - TextAlign - 002</ttm:title>
+      <ttm:descr>Test tts:textAlign attribute with the left value in a span.</ttm:descr>
+      <ttm:copyright>Copyright (C) 2008 W3C (MIT, ERCIM, Keio).</ttm:copyright>
+    </metadata>
+  </head>
+  <body>
+    <div>
+      <p begin="0s" end="10s" tts:textAlign="right"><span tts:textAlign="left">This caption is on the left</span>.</p>
+    </div>
+  </body>
+</tt>
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testsuite/Styling/TextAlign003.xml	Wed Nov 26 14:50:46 2008 +0000
@@ -0,0 +1,21 @@
+<?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 - TextAlign - 003</ttm:title>
+      <ttm:descr>Test tts:textAlign attribute with the center value in style.</ttm:descr>
+      <ttm:copyright>Copyright (C) 2008 W3C (MIT, ERCIM, Keio).</ttm:copyright>
+    </metadata>
+    <styling>
+    	<style id="s1" tts:textAlign="center" />
+    </styling>
+  </head>
+  <body>
+    <div style="s1">
+      <p begin="0s" end="10s">This caption is in the center.</p>
+    </div>
+  </body>
+</tt>
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testsuite/Styling/TextAlign004.xml	Wed Nov 26 14:50:46 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 - TextAlign - 004</ttm:title>
+      <ttm:descr>Test tts:textAlign attribute with the right value on the body.</ttm:descr>
+      <ttm:copyright>Copyright (C) 2008 W3C (MIT, ERCIM, Keio).</ttm:copyright>
+    </metadata>
+  </head>
+  <body tts:textAlign="right">
+    <div>
+      <p begin="0s" end="10s">This caption is on the right.</p>
+    </div>
+  </body>
+</tt>
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testsuite/Styling/TextAlign005.xml	Wed Nov 26 14:50:46 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 - TextAlign - 005</ttm:title>
+      <ttm:descr>Test tts:textAlign attribute with the left value on div.</ttm:descr>
+      <ttm:copyright>Copyright (C) 2008 W3C (MIT, ERCIM, Keio).</ttm:copyright>
+    </metadata>
+  </head>
+  <body>
+    <div tts:textAlign="left">
+      <p begin="0s" end="10s">This caption is on the left.</p>
+    </div>
+  </body>
+</tt>
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testsuite/Styling/TextAlign006.xml	Wed Nov 26 14:50:46 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 - TextAlign - 006</ttm:title>
+      <ttm:descr>Test tts:textAlign attribute with the center value on a span.</ttm:descr>
+      <ttm:copyright>Copyright (C) 2008 W3C (MIT, ERCIM, Keio).</ttm:copyright>
+    </metadata>
+  </head>
+  <body>
+    <div tts:textAlign="left">
+      <p begin="0s" end="10s"><span tts:textAlign="center">This caption is in the center.</span></p>
+    </div>
+  </body>
+</tt>
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testsuite/Styling/TextDecoration001.xml	Wed Nov 26 14:50:46 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 - TextDecoration - 001</ttm:title>
+      <ttm:descr>Test tts:textDecoration attribute using the none value.</ttm:descr>
+      <ttm:copyright>Copyright (C) 2008 W3C (MIT, ERCIM, Keio).</ttm:copyright>
+    </metadata>
+  </head>
+  <body>
+    <div>
+      <p tts:textDecoration="none" begin="0s" end="10s">This text has no decoration.</p>
+    </div>
+  </body>
+</tt>
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testsuite/Styling/TextDecoration002.xml	Wed Nov 26 14:50:46 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 - TextDecoration - 002</ttm:title>
+      <ttm:descr>Test tts:textDecoration attribute using the underline value in a span.</ttm:descr>
+      <ttm:copyright>Copyright (C) 2008 W3C (MIT, ERCIM, Keio).</ttm:copyright>
+    </metadata>
+  </head>
+  <body>
+    <div tts:textDecoration="none">
+      <p begin="0s" end="10s">The last word in this caption is <span tts:textDecoration="underline">underlined</span>.</p>
+    </div>
+  </body>
+</tt>
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testsuite/Styling/TextDecoration003.xml	Wed Nov 26 14:50:46 2008 +0000
@@ -0,0 +1,21 @@
+<?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 - TextDecoration - 003</ttm:title>
+      <ttm:descr>Test tts:textDecoration attribute using the none value in a span.</ttm:descr>
+      <ttm:copyright>Copyright (C) 2008 W3C (MIT, ERCIM, Keio).</ttm:copyright>
+    </metadata>
+    <styling>
+    	<style id="s1" tts:textDecoration="underline" />
+    </styling>
+  </head>
+  <body>
+    <div style="s1">
+      <p begin="0s" end="10s">The last two words in this caption are<span tts:textDecoration="none"> <br />not underlined.</span></p>
+    </div>
+  </body>
+</tt>
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testsuite/Styling/TextDecoration004.xml	Wed Nov 26 14:50:46 2008 +0000
@@ -0,0 +1,21 @@
+<?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 - TextDecoration - 004</ttm:title>
+      <ttm:descr>Test tts:textDecoration attribute using the underline value in style.</ttm:descr>
+      <ttm:copyright>Copyright (C) 2008 W3C (MIT, ERCIM, Keio).</ttm:copyright>
+    </metadata>
+    <styling>
+    	<style id="s1" tts:textDecoration="underline" />
+    </styling>
+  </head>
+  <body>
+    <div style="s1">
+      <p begin="0s" end="10s">All the words in this caption are underlined.</p>
+    </div>
+  </body>
+</tt>
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testsuite/Styling/TextDecoration005.xml	Wed Nov 26 14:50:46 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 - TextDecoration - 005</ttm:title>
+      <ttm:descr>Test tts:textDecoration attribute with the underline value in a div.</ttm:descr>
+      <ttm:copyright>Copyright (C) 2008 W3C (MIT, ERCIM, Keio).</ttm:copyright>
+    </metadata>
+  </head>
+  <body>
+    <div tts:textDecoration="underline">
+      <p begin="0s" end="10s">All the words in this caption are underlined.</p>
+    </div>
+  </body>
+</tt>
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testsuite/Styling/TextDecoration006.xml	Wed Nov 26 14:50:46 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 - TextDecoration - 006</ttm:title>
+      <ttm:descr>Test tts:textDecoration attribute with the underline value in the body.</ttm:descr>
+      <ttm:copyright>Copyright (C) 2008 W3C (MIT, ERCIM, Keio).</ttm:copyright>
+    </metadata>
+  </head>
+  <body tts:textDecoration="underline">
+    <div>
+      <p begin="0s" end="10s">All the words in this caption are underlined.</p>
+    </div>
+  </body>
+</tt>
\ No newline at end of file