diff options
author | Brian Anderson <andersrb@gmail.com> | 2015-09-21 12:41:18 -0700 |
---|---|---|
committer | Brian Anderson <andersrb@gmail.com> | 2015-09-21 12:41:18 -0700 |
commit | 49c64b3cb5999cad0118fa5cb0cc60f5fcc70493 (patch) | |
tree | dd136dcea4700b26582bcd950ccacf1f19c2dd86 /test/Tests/Table.html | |
parent | 794d91b37020242446c53713c7ce0c09b33b5f0c (diff) | |
parent | ca4609d56a77378ef9cf6dd3caff3aec006ecce9 (diff) | |
download | rust-hoedown-49c64b3cb5999cad0118fa5cb0cc60f5fcc70493.tar.gz |
Upgrade hoedown to 3.0.5.
Diffstat (limited to 'test/Tests/Table.html')
-rw-r--r-- | test/Tests/Table.html | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/test/Tests/Table.html b/test/Tests/Table.html new file mode 100644 index 0000000..f434598 --- /dev/null +++ b/test/Tests/Table.html @@ -0,0 +1,66 @@ +<h1>Standard table</h1> + +<table> + <thead> + <tr> + <th>headline1</th> + <th>headline2</th> + </tr> + </thead> + <tbody> + <tr> + <td>123</td> + <td></td> + </tr> + </tbody> +</table> + + +<h1>Cell alignment</h1> + +<table> + <thead> + <tr> + <th style="text-align: left">headline1</th> + <th style="text-align: center">headline2</th> + <th style="text-align: right">headline3</th> + </tr> + </thead> + <tbody> + <tr> + <td style="text-align: left">123</td> + <td style="text-align: center"></td> + <td style="text-align: right"></td> + </tr> + </tbody> +</table> + + +<h1>Malformed table: missing cell at row in body</h1> + +<table> + <thead> + <tr> + <th>headline1</th> + <th>headline2</th> + <th>headline3</th> + </tr> + </thead> + <tbody> + <tr> + <td>12</td> + <td></td> + <td></td> + </tr> + <tr> + <td>34</td> + <td></td> + <td></td> + </tr> + <tr> + <td>56</td> + <td></td> + <td></td> + </tr> + </tbody> +</table> |