summaryrefslogtreecommitdiff
path: root/test/html/render/table-missing-width-in-one-column.ref.html
diff options
context:
space:
mode:
authorRodrigo Arias Mallo <rodarima@gmail.com>2024-04-20 21:35:05 +0200
committerRodrigo Arias Mallo <rodarima@gmail.com>2024-04-28 22:37:01 +0200
commitad9b7a1bb01ac2aeed13a50991071fb2d565d7f3 (patch)
treef1690a340e4fbcb9592ce848b8a64da23109855b /test/html/render/table-missing-width-in-one-column.ref.html
parent021adb56db9d66cee2b58a635764798245b494d0 (diff)
Add HTML test for missing width in one column
It is currently failing, as the unbounded column is taking all the space. Reported-by: Kevin Koster <dillo@ombertech.com> Link: https://lists.mailman3.com/hyperkitty/list/dillo-dev@mailman3.com/message/H7JEBC2HYNJ6FUPQM7ILBP7I5FLU33IZ/ Link: https://www.mail-archive.com/dillo-dev@mailman3.com/msg00020.html
Diffstat (limited to 'test/html/render/table-missing-width-in-one-column.ref.html')
-rw-r--r--test/html/render/table-missing-width-in-one-column.ref.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/test/html/render/table-missing-width-in-one-column.ref.html b/test/html/render/table-missing-width-in-one-column.ref.html
new file mode 100644
index 00000000..effc7401
--- /dev/null
+++ b/test/html/render/table-missing-width-in-one-column.ref.html
@@ -0,0 +1,19 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+ "http://www.w3.org/TR/REC-html401/loose.dtd">
+<html>
+ <head>
+ <title>Table with percent width except in one column</title>
+ </head>
+ <body style="width: 400px">
+ <table width="400" cellspacing=0 cellpadding=0 border=0>
+ <tr>
+ <td style="background:pink" width="100"></td>
+ <td style="background:lightgreen" width="200">
+ This is the middle row, which should measure half the table
+ width.
+ </td>
+ <td style="background:pink" width="100"></td>
+ </tr>
+ </table>
+ </body>
+</html>