diff options
| author | Shulhan <m.shulhan@gmail.com> | 2020-11-30 00:50:45 +0700 |
|---|---|---|
| committer | Shulhan <m.shulhan@gmail.com> | 2020-11-30 00:50:45 +0700 |
| commit | 25fb8028169690794e752f9732e012ae408da716 (patch) | |
| tree | 7e6e9556a45590189d68121a3c50090016dedbc9 /testdata | |
| parent | 650791767f2615472ed0afbf952e9be14e0c4562 (diff) | |
| download | asciidoctor-go-25fb8028169690794e752f9732e012ae408da716.tar.xz | |
all: implement table options "footer"
Diffstat (limited to 'testdata')
| -rw-r--r-- | testdata/got.test.html | 36 | ||||
| -rw-r--r-- | testdata/test.adoc | 15 | ||||
| -rw-r--r-- | testdata/test.html | 36 |
3 files changed, 85 insertions, 2 deletions
diff --git a/testdata/got.test.html b/testdata/got.test.html index 5fe3f88..c7c4f2c 100644 --- a/testdata/got.test.html +++ b/testdata/got.test.html @@ -79,6 +79,7 @@ <li><a href="#_column_formatting">19.1. Column Formatting</a></li> <li><a href="#_cell_formatting">19.2. Cell formatting</a></li> <li><a href="#_header_row">19.3. Header row</a></li> +<li><a href="#_footer_row">19.4. Footer row</a></li> </ul> </li> <li><a href="#_horizontal_rules">20. Horizontal rules</a></li> @@ -1557,6 +1558,39 @@ E</p></td> </tbody> </table> </div> +<div class="sect2"> +<h3 id="_footer_row"><a class="anchor" href="#_footer_row"></a><a class="link" href="#_footer_row">19.4. Footer row</a></h3> +<table class="tableblock frame-all grid-all stretch"> +<colgroup> +<col style="width: 50%;"> +<col style="width: 50%;"> +</colgroup> +<thead> +<tr> +<th class="tableblock halign-left valign-top">A1</th> +<th class="tableblock halign-left valign-top">B1</th> +</tr> +</thead> +<tfoot> +<tr> +<td class="tableblock halign-left valign-top"><p class="tableblock">A2</p></td> +<td class="tableblock halign-left valign-top"><p class="tableblock">B2</p></td> +</tr> +</tfoot> +</table> +<table class="tableblock frame-all grid-all stretch"> +<colgroup> +<col style="width: 50%;"> +<col style="width: 50%;"> +</colgroup> +<thead> +<tr> +<th class="tableblock halign-left valign-top">A1</th> +<th class="tableblock halign-left valign-top">B1</th> +</tr> +</thead> +</table> +</div> </div> </div> <div class="sect1"> @@ -2297,7 +2331,7 @@ this sidebar.</p> <div id="footer"> <div id="footer-text"> 1.1.1<br> -Last updated 2020-11-29 23:47:25 +0700 +Last updated 2020-11-30 00:49:13 +0700 </div> </div> </body> diff --git a/testdata/test.adoc b/testdata/test.adoc index 33ee2d6..8e9c0f3 100644 --- a/testdata/test.adoc +++ b/testdata/test.adoc @@ -642,6 +642,21 @@ Cell spanning three columns, |B2 |=== +=== Footer row + +[options="footer"] +|=== +|A1 |B1 + +|A2 +|B2 +|=== + +[options="header,footer"] +|=== +|A1 |B1 +|=== + == Horizontal rules diff --git a/testdata/test.html b/testdata/test.html index 6f49212..c005f1c 100644 --- a/testdata/test.html +++ b/testdata/test.html @@ -79,6 +79,7 @@ <li><a href="#_column_formatting">19.1. Column Formatting</a></li> <li><a href="#_cell_formatting">19.2. Cell formatting</a></li> <li><a href="#_header_row">19.3. Header row</a></li> +<li><a href="#_footer_row">19.4. Footer row</a></li> </ul> </li> <li><a href="#_horizontal_rules">20. Horizontal rules</a></li> @@ -1555,6 +1556,39 @@ D</p></td> </tbody> </table> </div> +<div class="sect2"> +<h3 id="_footer_row"><a class="anchor" href="#_footer_row"></a><a class="link" href="#_footer_row">19.4. Footer row</a></h3> +<table class="tableblock frame-all grid-all stretch"> +<colgroup> +<col style="width: 50%;"> +<col style="width: 50%;"> +</colgroup> +<thead> +<tr> +<th class="tableblock halign-left valign-top">A1</th> +<th class="tableblock halign-left valign-top">B1</th> +</tr> +</thead> +<tfoot> +<tr> +<td class="tableblock halign-left valign-top"><p class="tableblock">A2</p></td> +<td class="tableblock halign-left valign-top"><p class="tableblock">B2</p></td> +</tr> +</tfoot> +</table> +<table class="tableblock frame-all grid-all stretch"> +<colgroup> +<col style="width: 50%;"> +<col style="width: 50%;"> +</colgroup> +<thead> +<tr> +<th class="tableblock halign-left valign-top">A1</th> +<th class="tableblock halign-left valign-top">B1</th> +</tr> +</thead> +</table> +</div> </div> </div> <div class="sect1"> @@ -2292,7 +2326,7 @@ this sidebar.</p> <div id="footer"> <div id="footer-text"> 1.1.1<br> -Last updated 2020-11-29 23:47:25 +0700 +Last updated 2020-11-30 00:49:13 +0700 </div> </div> </body> |
