author | Philippe Le Hégaret <plh@w3.org> |
Mon, 26 Jan 2009 22:41:22 +0000 | |
changeset 86 | b1407d063568 |
parent 85 | c8f5827a1ddd |
child 87 | cf2cd9026bab |
testsuite/Styling/LineHeight006.xml | ||
testsuite/Styling/LineHeight007.xml | ||
testsuite/Styling/Padding006.xml | ||
testsuite/Styling/Padding007.xml | ||
testsuite/Styling/Padding008.xml | ||
testsuite/filelist.xml | ||
testsuite/web-framework/tests.js |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/testsuite/Styling/LineHeight006.xml Mon Jan 26 22:41:22 2009 +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#styling" + xmlns:ttm="http://www.w3.org/2006/10/ttaf1#metadata"> + <head> + <metadata> + <ttm:title>Styling Test - LineHeight - 006</ttm:title> + <ttm:desc>Test tts:lineHeight attribute using an em value.</ttm:desc> + <ttm:copyright>Copyright (C) 2008 W3C (MIT, ERCIM, Keio).</ttm:copyright> + </metadata> + </head> + <body> + <div> + <p begin="0s" end="10s" tts:lineHeight="2em">The line height of this<br />two-row caption is 2em.</p> + </div> + </body> +</tt>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/testsuite/Styling/LineHeight007.xml Mon Jan 26 22:41:22 2009 +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#styling" + xmlns:ttm="http://www.w3.org/2006/10/ttaf1#metadata"> + <head> + <metadata> + <ttm:title>Styling Test - LineHeight - 007</ttm:title> + <ttm:desc>Test tts:lineHeight attribute using a c value.</ttm:desc> + <ttm:copyright>Copyright (C) 2008 W3C (MIT, ERCIM, Keio).</ttm:copyright> + </metadata> + </head> + <body> + <div> + <p begin="0s" end="10s" tts:lineHeight="2c">The line height of this<br />two-row caption is 2c.</p> + </div> + </body> +</tt>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/testsuite/Styling/Padding006.xml Mon Jan 26 22:41:22 2009 +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#styling" + xmlns:ttm="http://www.w3.org/2006/10/ttaf1#metadata"> + <head> + <metadata> + <ttm:title>Styling Test - Padding - 006</ttm:title> + <ttm:desc>Test tts:padding attribute with em values.</ttm:desc> + <ttm:copyright>Copyright (C) 2008 W3C (MIT, ERCIM, Keio).</ttm:copyright> + </metadata> + <region xml:id="r1"> + <style tts:origin="0px 0px"/> + <style tts:extent="200px 100px"/> + <style tts:textAlign="left"/> + <style tts:padding="2em"/> + </region> + </head> + <body> + <div tts:backgroundColor="green"> + <p begin="0s" end="10s" region="r1">All the edges are padded<br />by 2em.</p> + </div> + </body> +</tt>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/testsuite/Styling/Padding007.xml Mon Jan 26 22:41:22 2009 +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#styling" + xmlns:ttm="http://www.w3.org/2006/10/ttaf1#metadata"> + <head> + <metadata> + <ttm:title>Styling Test - Padding - 007</ttm:title> + <ttm:desc>Test tts:padding attribute with em values.</ttm:desc> + <ttm:copyright>Copyright (C) 2008 W3C (MIT, ERCIM, Keio).</ttm:copyright> + </metadata> + <region xml:id="r1"> + <style tts:origin="0px 0px"/> + <style tts:extent="200px 100px"/> + <style tts:textAlign="left"/> + <style tts:padding="20%"/> + </region> + </head> + <body> + <div tts:backgroundColor="green"> + <p begin="0s" end="10s" region="r1">All the edges are padded<br />by 20%.</p> + </div> + </body> +</tt>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/testsuite/Styling/Padding008.xml Mon Jan 26 22:41:22 2009 +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#styling" + xmlns:ttm="http://www.w3.org/2006/10/ttaf1#metadata"> + <head> + <metadata> + <ttm:title>Styling Test - Padding - 008</ttm:title> + <ttm:desc>Test tts:padding attribute with c values.</ttm:desc> + <ttm:copyright>Copyright (C) 2008 W3C (MIT, ERCIM, Keio).</ttm:copyright> + </metadata> + <region xml:id="r1"> + <style tts:origin="0px 0px"/> + <style tts:extent="200px 100px"/> + <style tts:textAlign="left"/> + <style tts:padding="3c"/> + </region> + </head> + <body> + <div tts:backgroundColor="green"> + <p begin="0s" end="10s" region="r1">All the edges are padded<br />by 3c.</p> + </div> + </body> +</tt>
--- a/testsuite/filelist.xml Mon Jan 26 22:31:27 2009 +0000 +++ b/testsuite/filelist.xml Mon Jan 26 22:41:22 2009 +0000 @@ -42,6 +42,7 @@ <file>Styling/BackgroundColor007.xml</file> <file>Styling/BackgroundColor008.xml</file> <file>Styling/BackgroundColor009.xml</file> +<file>Styling/BackgroundColor010.xml</file> <file>Styling/Color001.xml</file> <file>Styling/Color002.xml</file> <file>Styling/Color003.xml</file> @@ -78,11 +79,17 @@ <file>Styling/LineHeight002.xml</file> <file>Styling/LineHeight003.xml</file> <file>Styling/LineHeight004.xml</file> +<file>Styling/LineHeight006.xml</file> +<file>Styling/LineHeight007.xml</file> +<file>Styling/LineHeight008.xml</file> <file>Styling/Padding001.xml</file> <file>Styling/Padding002.xml</file> <file>Styling/Padding003.xml</file> <file>Styling/Padding004.xml</file> <file>Styling/Padding005.xml</file> +<file>Styling/Padding006.xml</file> +<file>Styling/Padding007.xml</file> +<file>Styling/Padding008.xml</file> <file>Styling/Style001.xml</file> <file>Styling/Styling001.xml</file> <file>Styling/TextAlign001.xml</file> @@ -91,6 +98,7 @@ <file>Styling/TextAlign004.xml</file> <file>Styling/TextAlign005.xml</file> <file>Styling/TextAlign006.xml</file> +<file>Styling/TextAlign007.xml</file> <file>Styling/TextDecoration001.xml</file> <file>Styling/TextDecoration002.xml</file> <file>Styling/TextDecoration003.xml</file> @@ -128,6 +136,7 @@ <file>Styling/displayAlign002.xml</file> <file>Styling/displayAlign003.xml</file> <file>Styling/displayAlign004.xml</file> +<file>Styling/displayAlign005.xml</file> <file>Styling/extent001.xml</file> <file>Styling/extent002.xml</file> <file>Styling/extent003.xml</file> @@ -178,23 +187,6 @@ <file>Metadata/name005.xml</file> <file>Metadata/role006.xml</file> <file>Metadata/title001.xml</file> -<file>Timing/Animation001.xml</file> -<file>Timing/Animation002.xml</file> -<file>Timing/Animation003.xml</file> -<file>Timing/Animation004.xml</file> -<file>Timing/Animation005.xml</file> -<file>Timing/Animation006.xml</file> -<file>Timing/Animation007.xml</file> -<file>Timing/Animation008.xml</file> -<file>Timing/Animation009.xml</file> -<file>Timing/Animation010.xml</file> -<file>Timing/Animation012.xml</file> -<file>Timing/Animation013.xml</file> -<file>Timing/Animation014.xml</file> -<file>Timing/Animation015.xml</file> -<file>Timing/Animation016.xml</file> -<file>Timing/Animation017.xml</file> -<file>Timing/Animation101.xml</file> <file>Timing/BasicTimeContainment001.xml</file> <file>Timing/BasicTimeContainment002.xml</file> <file>Timing/BasicTimeContainment003.xml</file> @@ -202,12 +194,9 @@ <file>Timing/BasicTiming001.xml</file> <file>Timing/BasicTiming002.xml</file> <file>Timing/BasicTiming003.xml</file> -<file>Timing/BasicTiming004.xml</file> -<file>Timing/BasicTiming005.xml</file> <file>Timing/BasicTiming006.xml</file> <file>Timing/BasicTiming007.xml</file> <file>Timing/BasicTiming008.xml</file> -<file>Timing/BasicTiming009.xml</file> <file>Timing/BasicTiming010.xml</file> <file>Timing/BasicTiming011.xml</file> <file>Timing/BasicTiming012.xml</file> @@ -217,7 +206,6 @@ <file>Timing/BeginEnd003.xml</file> <file>Timing/FixedBeginEnd002.xml</file> <file>Timing/MediaParTiming001.xml</file> -<file>Timing/MediaParTiming002.xml</file> <file>Timing/MediaParTiming003.xml</file> <file>Timing/MediaSeqTiming001.xml</file> <file>Timing/MediaSeqTiming002.xml</file> @@ -225,6 +213,26 @@ <file>Timing/MediaSeqTiming004.xml</file> <file>Timing/MediaSeqTiming005.xml</file> <file>Timing/MediaSeqTiming006.xml</file> -<file>Timing/MediaSeqTiming007.xml</file> -<file>Timing/time001.xml</file> +<file>Animation/Animation001.xml</file> +<file>Animation/Animation002.xml</file> +<file>Animation/Animation003.xml</file> +<file>Animation/Animation004.xml</file> +<file>Animation/Animation005.xml</file> +<file>Animation/Animation006.xml</file> +<file>Animation/Animation007.xml</file> +<file>Animation/Animation008.xml</file> +<file>Animation/Animation009.xml</file> +<file>Animation/Animation010.xml</file> +<file>Animation/Animation012.xml</file> +<file>Animation/Animation013.xml</file> +<file>Animation/Animation014.xml</file> +<file>Animation/Animation015.xml</file> +<file>Animation/Animation016.xml</file> +<file>Animation/Animation017.xml</file> +<file>Animation/Animation101.xml</file> +<file>Animation/BasicTiming004.xml</file> +<file>Animation/BasicTiming005.xml</file> +<file>Animation/BasicTiming009.xml</file> +<file>Animation/MediaParTiming002.xml</file> +<file>Animation/MediaSeqTiming007.xml</file> </files>
--- a/testsuite/web-framework/tests.js Mon Jan 26 22:31:27 2009 +0000 +++ b/testsuite/web-framework/tests.js Mon Jan 26 22:41:22 2009 +0000 @@ -41,6 +41,7 @@ addTest("../Styling/BackgroundColor007.xml","BackgroundColor007","Test tts:backgroundColor using a named color expression on the div element.","Styling Test"); addTest("../Styling/BackgroundColor008.xml","BackgroundColor008","Test tts:backgroundColor style using a named color expression in style.","Styling Test"); addTest("../Styling/BackgroundColor009.xml","BackgroundColor009","Test tts:backgroundColor using a named color expression on the body.","Styling Test"); +addTest("../Styling/BackgroundColor010.xml","BackgroundColor010","Test tts:backgroundColor attribute with the inherit value.","Styling Test"); addTest("../Styling/Color001.xml","Color001","Test tts:color attribute using a named color expression.","Styling Test"); addTest("../Styling/Color002.xml","Color002","Test tts:color attribute using a hash (#rrggbb) color expression.","Styling Test"); addTest("../Styling/Color003.xml","Color003","Test tts:color attribute using a hash (#rrggbbaa) color expression with opacity.","Styling Test"); @@ -77,11 +78,17 @@ addTest("../Styling/LineHeight002.xml","LineHeight002","Test tts:lineHeight attribute using the normal value in a paragraph.","Styling Test"); addTest("../Styling/LineHeight003.xml","LineHeight003","Test tts:lineHeight attribute using a length value in the style element.","Styling Test"); addTest("../Styling/LineHeight004.xml","LineHeight004","Test tts:lineHeight attribute using an inherited value.","Styling Test"); +addTest("../Styling/LineHeight006.xml","LineHeight006","Test tts:lineHeight attribute using an em value.","Styling Test"); +addTest("../Styling/LineHeight007.xml","LineHeight007","Test tts:lineHeight attribute using a c value.","Styling Test"); +addTest("../Styling/LineHeight008.xml","LineHeight008","Test tts:textAlign attribute with the inherit value.","Styling Test"); addTest("../Styling/Padding001.xml","Padding001","Test tts:padding attribute with one value.","Styling Test"); addTest("../Styling/Padding002.xml","Padding002","Test tts:padding attribute with two values.","Styling Test"); addTest("../Styling/Padding003.xml","Padding003","Test tts:padding attribute with three values.","Styling Test"); addTest("../Styling/Padding004.xml","Padding004","Test tts:padding attribute with four values.","Styling Test"); addTest("../Styling/Padding005.xml","Padding005","Test tts:padding attribute with an inherited value.","Styling Test"); +addTest("../Styling/Padding006.xml","Padding006","Test tts:padding attribute with em values.","Styling Test"); +addTest("../Styling/Padding007.xml","Padding007","Test tts:padding attribute with em values.","Styling Test"); +addTest("../Styling/Padding008.xml","Padding008","Test tts:padding attribute with c values.","Styling Test"); addTest("../Styling/Style001.xml","Style001","Test style attributes in the style element.","Styling Test"); addTest("../Styling/Styling001.xml","Styling001","Test two different styles in the style element.","Styling Test"); addTest("../Styling/TextAlign001.xml","TextAlign001","Test tts:textAlign attribute with the right value in a paragraph.","Styling Test"); @@ -90,6 +97,7 @@ addTest("../Styling/TextAlign004.xml","TextAlign004","Test tts:textAlign attribute with the center value in a pargraph.","Styling Test"); addTest("../Styling/TextAlign005.xml","TextAlign005","Test tts:textAlign attribute with the start value in the style element.","Styling Test"); addTest("../Styling/TextAlign006.xml","TextAlign006","Test tts:textAlign attribute with the end value.","Styling Test"); +addTest("../Styling/TextAlign007.xml","TextAlign007","Test tts:textAlign attribute with the inherit value.","Styling Test"); addTest("../Styling/TextDecoration001.xml","TextDecoration001","Test tts:textDecoration attribute using the none value.","Styling Test"); addTest("../Styling/TextDecoration002.xml","TextDecoration002","Test tts:textDecoration attribute using the underline value in a span.","Styling Test"); addTest("../Styling/TextDecoration003.xml","TextDecoration003","Test tts:textDecoration attribute using the none value in a span.","Styling Test"); @@ -127,6 +135,7 @@ addTest("../Styling/displayAlign002.xml","displayAlign002","Test tts:displayAlign attribute with the after value in the style element.","Styling Test"); addTest("../Styling/displayAlign003.xml","displayAlign003","Test tts:displayAlign attribute with the center value in the style element.","Styling Test"); addTest("../Styling/displayAlign004.xml","displayAlign004","Test tts:displayAlign attribute with an inherit value.","Styling Test"); +addTest("../Styling/displayAlign005.xml","displayAlign005","Test tts:displayAlign attribute with the inherit value.","Styling Test"); addTest("../Styling/extent001.xml","extent001","Test tts:extent attribute with the auto value in the style element.","Styling Test"); addTest("../Styling/extent002.xml","extent002","Test tts:extent attribute with two length values in the style element.","Styling Test"); addTest("../Styling/extent003.xml","extent003","Test tts:extent attribute with an inherited value.","Styling Test");