aboutsummaryrefslogtreecommitdiffstats
path: root/test/layout/table-auto-resolves-cells-with-percentage-width.html
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-12-21 17:25:02 +0100
committerbptato <nincsnevem662@gmail.com>2024-12-21 17:25:02 +0100
commit37bce004bea06865638fda7fda63c61b502457ce (patch)
treee495b292c76e090ea3fea0fd988d96cc8a208616 /test/layout/table-auto-resolves-cells-with-percentage-width.html
parent01f2fcb6f74f6b7db2ac9cc0ecae1c67eb63e50d (diff)
downloadchawan-37bce004bea06865638fda7fda63c61b502457ce.tar.gz
layout: resolve percentage width for auto table cells
It is still wrong in case the table is too small, but at least it fixes the regression from 0971ad85.
Diffstat (limited to 'test/layout/table-auto-resolves-cells-with-percentage-width.html')
-rw-r--r--test/layout/table-auto-resolves-cells-with-percentage-width.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/layout/table-auto-resolves-cells-with-percentage-width.html b/test/layout/table-auto-resolves-cells-with-percentage-width.html
new file mode 100644
index 00000000..886472a9
--- /dev/null
+++ b/test/layout/table-auto-resolves-cells-with-percentage-width.html
@@ -0,0 +1,7 @@
+<!DOCTYPE html>
+<table>
+<tr>
+<td width="20%"></td>
+<td>Lorem ipsum dolor sit amet, in pri debet blandit, ius an idque voluptaria, vidit phaedrum definitionem his ne.</td>
+<td width="20%"></td>
+</table>