New
authorPhilippe Le Hégaret <plh@w3.org>
Tue, 02 Dec 2008 13:47:50 +0000
changeset 30 6e425f448e80
parent 29 bbf9126163c6
child 31 aee0fb84e0d8
New
testsuite/Styling/Padding001.xml
testsuite/Styling/Padding002.xml
testsuite/Styling/Padding003.xml
testsuite/Styling/Padding004.xml
testsuite/Styling/TextDecoration007.xml
testsuite/Styling/TextDecoration008.xml
testsuite/Styling/TextDecoration009.xml
testsuite/Styling/TextDecoration010.xml
testsuite/Styling/TextDecoration011.xml
testsuite/Styling/TextDecoration012.xml
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testsuite/Styling/Padding001.xml	Tue Dec 02 13:47:50 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 - Padding - 001</ttm:title>
+      <ttm:descr>Test tts:padding attribute with one value.</ttm:descr>
+      <ttm:copyright>Copyright (C) 2008 W3C (MIT, ERCIM, Keio).</ttm:copyright>
+    </metadata>
+    <styling>
+    	<style id="s1" tts:padding="20px"/>
+    </styling>
+  </head>
+  <body>
+    <div style="s1" tts:backgroundColor="green">
+      <p begin="0s" end="10s">All the edges are padded <br />by 20 pixels.</p>
+    </div>
+  </body>
+</tt>
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testsuite/Styling/Padding002.xml	Tue Dec 02 13:47:50 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>Styling Test - Padding - 002</ttm:title>
+      <ttm:descr>Test tts:padding attribute with two values.</ttm:descr>
+      <ttm:copyright>Copyright (C) 2008 W3C (MIT, ERCIM, Keio).</ttm:copyright>
+    </metadata>
+    <styling>
+    	<style id="s1" tts:padding="10px 30px"/>
+    </styling>
+  </head>
+  <body>
+    <div style="s1" tts:backgroundColor="green">
+      <p begin="0s" end="5s">The before and after edges <br />are padded by 10 pixels.</p>
+
+      <p begin="5s" end="10s">The start and end edges <br />are padded by 30 pixels.</p>
+
+    </div>
+  </body>
+</tt>
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testsuite/Styling/Padding003.xml	Tue Dec 02 13:47:50 2008 +0000
@@ -0,0 +1,26 @@
+<?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 - Padding - 003</ttm:title>
+      <ttm:descr>Test tts:padding attribute with three values.</ttm:descr>
+      <ttm:copyright>Copyright (C) 2008 W3C (MIT, ERCIM, Keio).</ttm:copyright>
+    </metadata>
+    <styling>
+    	<style id="s1" tts:padding="10px 20px 40px"/>
+    </styling>
+  </head>
+  <body>
+    <div style="s1" tts:backgroundColor="green">
+      <p begin="0s" end="5s">The before edge <br />is padded by 10 pixels.</p>
+
+      <p begin="5s" end="10s">The start and end edges <br />are padded by 20 pixels.</p>
+
+      <p begin="10s" end="15s">The after edge <br />is padded by 40 pixels.</p>
+
+    </div>
+  </body>
+</tt>
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testsuite/Styling/Padding004.xml	Tue Dec 02 13:47:50 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>Styling Test - Padding - 004</ttm:title>
+      <ttm:descr>Test tts:padding attribute with four values.</ttm:descr>
+      <ttm:copyright>Copyright (C) 2008 W3C (MIT, ERCIM, Keio).</ttm:copyright>
+    </metadata>
+    <styling>
+    	<style id="s1" tts:padding="10px 20px 30px 40px"/>
+    </styling>
+  </head>
+  <body>
+    <div style="s1" tts:backgroundColor="green">
+      <p begin="0s" end="5s">The before edge <br />is padded by 10 pixels.</p>
+
+      <p begin="5s" end="10s">The end edge <br />is padded by 20 pixels.</p>
+
+      <p begin="10s" end="15s">The after edge <br />is padded by 30 pixels.</p>
+
+      <p begin="15s" end="20s">The start edge <br />is padded by 40 pixels.</p>
+    </div>
+  </body>
+</tt>
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testsuite/Styling/TextDecoration007.xml	Tue Dec 02 13:47:50 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 - 007</ttm:title>
+      <ttm:descr>Test tts:textDecoration attribute with the noUnderline value.</ttm:descr>
+      <ttm:copyright>Copyright (C) 2008 W3C (MIT, ERCIM, Keio).</ttm:copyright>
+    </metadata>
+  </head>
+  <body>
+    <div>
+      <p begin="0s" end="10s" tts:textDecoration="underline">The last two words in this caption are <br /><span tts:textDecoration="noUnderline">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/TextDecoration008.xml	Tue Dec 02 13:47:50 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 - 008</ttm:title>
+      <ttm:descr>Test tts:textDecoration attribute with the lineThrough value.</ttm:descr>
+      <ttm:copyright>Copyright (C) 2008 W3C (MIT, ERCIM, Keio).</ttm:copyright>
+    </metadata>
+  </head>
+  <body>
+    <div>
+      <p begin="0s" end="10s" tts:textDecoration="lineThrough">This text contains a throughline.</p>
+    </div>
+  </body>
+</tt>
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testsuite/Styling/TextDecoration009.xml	Tue Dec 02 13:47:50 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 - 009</ttm:title>
+      <ttm:descr>Test tts:textDecoration attribute with the noLineThrough value.</ttm:descr>
+      <ttm:copyright>Copyright (C) 2008 W3C (MIT, ERCIM, Keio).</ttm:copyright>
+    </metadata>
+  </head>
+  <body>
+    <div>
+      <p begin="0s" end="10s" tts:textDecoration="lineThrough">The last four words have <br /><span tts:textDecoration="noLineThrough">no line through them</span>.</p>
+    </div>
+  </body>
+</tt>
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testsuite/Styling/TextDecoration010.xml	Tue Dec 02 13:47:50 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 - 010</ttm:title>
+      <ttm:descr>Test tts:textDecoration attribute with the overline value.</ttm:descr>
+      <ttm:copyright>Copyright (C) 2008 W3C (MIT, ERCIM, Keio).</ttm:copyright>
+    </metadata>
+  </head>
+  <body>
+    <div>
+      <p begin="0s" end="10s" tts:textDecoration="overline">This entire caption contains an overline.</p>
+    </div>
+  </body>
+</tt>
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testsuite/Styling/TextDecoration011.xml	Tue Dec 02 13:47:50 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 - 011</ttm:title>
+      <ttm:descr>Test tts:textDecoration attribute with the noOverline value.</ttm:descr>
+      <ttm:copyright>Copyright (C) 2008 W3C (MIT, ERCIM, Keio).</ttm:copyright>
+    </metadata>
+  </head>
+  <body>
+    <div>
+      <p begin="0s" end="10s" tts:textDecoration="overline">The first row contains an overline, <br /> <span tts:textDecoration="noOverline">but the second row does not</span>.</p>
+    </div>
+  </body>
+</tt>
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testsuite/Styling/TextDecoration012.xml	Tue Dec 02 13:47:50 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 - 012</ttm:title>
+      <ttm:descr>Test tts:textDecoration attribute with the inherit value.</ttm:descr>
+      <ttm:copyright>Copyright (C) 2008 W3C (MIT, ERCIM, Keio).</ttm:copyright>
+    </metadata>
+  </head>
+  <body>
+    <div>
+      <p begin="0s" end="10s" tts:textDecoration="underline">All words in this caption are <span tts:textDecoration="underline">underlined</span>.</p>
+    </div>
+  </body>
+</tt>
\ No newline at end of file