diff options
Diffstat (limited to 'tests/tables.textile')
-rw-r--r-- | tests/tables.textile | 106 |
1 files changed, 53 insertions, 53 deletions
diff --git a/tests/tables.textile b/tests/tables.textile index ccb34cf58..4836ecd79 100644 --- a/tests/tables.textile +++ b/tests/tables.textile @@ -1,16 +1,16 @@ Simple table with caption: - <table> - <caption>Demonstration of simple table syntax.</caption> - <thead> +<table> +<caption>Demonstration of simple table syntax.</caption> +<thead> <tr class="header"> <th align="right">Right</th> <th align="left">Left</th> <th align="center">Center</th> <th align="left">Default</th> </tr> - </thead> - <tbody> +</thead> +<tbody> <tr class="odd"> <td align="right">12</td> <td align="left">12</td> @@ -29,21 +29,21 @@ Simple table with caption: <td align="center">1</td> <td align="left">1</td> </tr> - </tbody> - </table> +</tbody> +</table> Simple table without caption: - <table> - <thead> +<table> +<thead> <tr class="header"> <th align="right">Right</th> <th align="left">Left</th> <th align="center">Center</th> <th align="left">Default</th> </tr> - </thead> - <tbody> +</thead> +<tbody> <tr class="odd"> <td align="right">12</td> <td align="left">12</td> @@ -62,22 +62,22 @@ Simple table without caption: <td align="center">1</td> <td align="left">1</td> </tr> - </tbody> - </table> +</tbody> +</table> Simple table indented two spaces: - <table> - <caption>Demonstration of simple table syntax.</caption> - <thead> +<table> +<caption>Demonstration of simple table syntax.</caption> +<thead> <tr class="header"> <th align="right">Right</th> <th align="left">Left</th> <th align="center">Center</th> <th align="left">Default</th> </tr> - </thead> - <tbody> +</thead> +<tbody> <tr class="odd"> <td align="right">12</td> <td align="left">12</td> @@ -96,26 +96,26 @@ Simple table indented two spaces: <td align="center">1</td> <td align="left">1</td> </tr> - </tbody> - </table> +</tbody> +</table> Multiline table with caption: - <table> - <caption>Here's the caption. It may span multiple lines.</caption> - <col width="15%" /> - <col width="13%" /> - <col width="16%" /> - <col width="33%" /> - <thead> +<table> +<caption>Here's the caption. It may span multiple lines.</caption> +<col width="15%" /> +<col width="13%" /> +<col width="16%" /> +<col width="33%" /> +<thead> <tr class="header"> <th align="center">Centered Header</th> <th align="left">Left Aligned</th> <th align="right">Right Aligned</th> <th align="left">Default aligned</th> </tr> - </thead> - <tbody> +</thead> +<tbody> <tr class="odd"> <td align="center">First</td> <td align="left">row</td> @@ -128,25 +128,25 @@ Multiline table with caption: <td align="right">5.0</td> <td align="left">Here's another one. Note the blank line between rows.</td> </tr> - </tbody> - </table> +</tbody> +</table> Multiline table without caption: - <table> - <col width="15%" /> - <col width="13%" /> - <col width="16%" /> - <col width="33%" /> - <thead> +<table> +<col width="15%" /> +<col width="13%" /> +<col width="16%" /> +<col width="33%" /> +<thead> <tr class="header"> <th align="center">Centered Header</th> <th align="left">Left Aligned</th> <th align="right">Right Aligned</th> <th align="left">Default aligned</th> </tr> - </thead> - <tbody> +</thead> +<tbody> <tr class="odd"> <td align="center">First</td> <td align="left">row</td> @@ -159,13 +159,13 @@ Multiline table without caption: <td align="right">5.0</td> <td align="left">Here's another one. Note the blank line between rows.</td> </tr> - </tbody> - </table> +</tbody> +</table> Table without column headers: - <table> - <tbody> +<table> +<tbody> <tr class="odd"> <td align="right">12</td> <td align="left">12</td> @@ -184,17 +184,17 @@ Table without column headers: <td align="center">1</td> <td align="right">1</td> </tr> - </tbody> - </table> +</tbody> +</table> Multiline table without column headers: - <table> - <col width="15%" /> - <col width="13%" /> - <col width="16%" /> - <col width="33%" /> - <tbody> +<table> +<col width="15%" /> +<col width="13%" /> +<col width="16%" /> +<col width="33%" /> +<tbody> <tr class="odd"> <td align="center">First</td> <td align="left">row</td> @@ -207,6 +207,6 @@ Multiline table without column headers: <td align="right">5.0</td> <td align="left">Here's another one. Note the blank line between rows.</td> </tr> - </tbody> - </table> +</tbody> +</table> |