about summary refs log tree commit diff stats
path: root/test/layout/table-colwidth-overconstrained-too-small.html
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-05-08 22:26:23 +0200
committerbptato <nincsnevem662@gmail.com>2024-05-08 22:28:19 +0200
commit264419bde7a73ba34095af65fd0f34ab88e7070a (patch)
treeb61ba8d412d826bc58ebfeabc63ec1017157ebb4 /test/layout/table-colwidth-overconstrained-too-small.html
parentc90c11ea3840c9d25edb16aa5e6a2c366406cb89 (diff)
downloadchawan-264419bde7a73ba34095af65fd0f34ab88e7070a.tar.gz
layout: another table colwidth fix
Turns out we also have to *expand* column width, if the specified column
width is too small *and* no unspecified column exists to take the rest
of the place.
Diffstat (limited to 'test/layout/table-colwidth-overconstrained-too-small.html')
-rw-r--r--test/layout/table-colwidth-overconstrained-too-small.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/layout/table-colwidth-overconstrained-too-small.html b/test/layout/table-colwidth-overconstrained-too-small.html
new file mode 100644
index 00000000..5d2bbb5b
--- /dev/null
+++ b/test/layout/table-colwidth-overconstrained-too-small.html
@@ -0,0 +1,6 @@
+<table width=100%>
+<tr>
+<td width=25% bgcolor=red>e
+<td width=25% bgcolor=green>h?
+</tr>
+</table>