diff options
-rw-r--r-- | test/html/Makefile.am | 1 | ||||
-rw-r--r-- | test/html/render/table-thead-tfoot-open-tag.html | 35 | ||||
-rw-r--r-- | test/html/render/table-thead-tfoot-open-tag.ref.html | 35 |
3 files changed, 71 insertions, 0 deletions
diff --git a/test/html/Makefile.am b/test/html/Makefile.am index 5b6643d6..eee0e3fd 100644 --- a/test/html/Makefile.am +++ b/test/html/Makefile.am @@ -37,6 +37,7 @@ TESTS = \ render/table-td-width-percent-img.html \ render/table-td-width-percent.html \ render/table-thead-tfoot.html \ + render/table-thead-tfoot-open-tag.html \ render/white-space.html # To be fixed diff --git a/test/html/render/table-thead-tfoot-open-tag.html b/test/html/render/table-thead-tfoot-open-tag.html new file mode 100644 index 00000000..0a71215f --- /dev/null +++ b/test/html/render/table-thead-tfoot-open-tag.html @@ -0,0 +1,35 @@ +<!DOCTYPE html> +<html> + <head> + <title>Test thead, tbody and tfoot</title> + <style> + thead {color: green;} + tbody {color: blue;} + tfoot {color: red;} + + table, th, td { + border: 1px solid black; + } + </style> + </head> + <body> + <table> + <thead> + <tr> + <th>Month</th> + <th>Savings + <tbody> + <tr> + <td>January + <td>$100 + <tr> + <td>February + <td>$80 + <tfoot> + <tr> + <td>Sum + <td>$180 + </tfoot> + </table> + </body> +</html> diff --git a/test/html/render/table-thead-tfoot-open-tag.ref.html b/test/html/render/table-thead-tfoot-open-tag.ref.html new file mode 100644 index 00000000..031ade7f --- /dev/null +++ b/test/html/render/table-thead-tfoot-open-tag.ref.html @@ -0,0 +1,35 @@ +<!DOCTYPE html> +<html> + <head> + <title>Test thead, tbody and tfoot</title> + <style> + .head {color: green; font-weight: bold; align: center; } + .body {color: blue;} + .foot {color: red;} + + table, th, td { + border: 1px solid black; + } + </style> + </head> + <body> + <table> + <tr class="head"> + <th>Month</th> + <th>Savings</th> + </tr> + <tr class="body"> + <td>January</td> + <td>$100</td> + </tr> + <tr class="body"> + <td>February</td> + <td>$80</td> + </tr> + <tr class="foot"> + <td>Sum</td> + <td>$180</td> + </tr> + </table> + </body> +</html> |