diff options
author | Rodrigo Arias Mallo <rodarima@gmail.com> | 2024-06-22 20:47:53 +0200 |
---|---|---|
committer | Rodrigo Arias Mallo <rodarima@gmail.com> | 2024-10-01 20:58:38 +0200 |
commit | 3eb7b5544452ab001f3c570ddd5760bcc61f413c (patch) | |
tree | 28db9b16f772a514aea4ed9c0c27a4ee34a7e7cf /test/html/render | |
parent | 4f303337cdf3d86b69918a137db19351cdbae581 (diff) |
Add unclosed tag test for tbody, thead and tfoot
Diffstat (limited to 'test/html/render')
-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 |
2 files changed, 70 insertions, 0 deletions
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> |