aboutsummaryrefslogtreecommitdiffstats
path: root/test/layout
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-12-15 19:09:46 +0100
committerbptato <nincsnevem662@gmail.com>2024-12-15 19:09:46 +0100
commit167f8f764974bfabbbf68a013218c90c9cdfac0b (patch)
tree284c56eb1f77b77a93ad6b99332bd3151bbc57f7 /test/layout
parent14bdce675c0169e3643f5cf4f708c3721a9d29e2 (diff)
downloadchawan-167f8f764974bfabbbf68a013218c90c9cdfac0b.tar.gz
layout: do not trust specified table cell height
If the contents are larger than the specified cell height, then it is simply ignored.
Diffstat (limited to 'test/layout')
-rw-r--r--test/layout/table-intrinsic-height-overrides-specified-height.expected2
-rw-r--r--test/layout/table-intrinsic-height-overrides-specified-height.html8
2 files changed, 10 insertions, 0 deletions
diff --git a/test/layout/table-intrinsic-height-overrides-specified-height.expected b/test/layout/table-intrinsic-height-overrides-specified-height.expected
new file mode 100644
index 00000000..b6a17be1
--- /dev/null
+++ b/test/layout/table-intrinsic-height-overrides-specified-height.expected
@@ -0,0 +1,2 @@
+ test
+ test
diff --git a/test/layout/table-intrinsic-height-overrides-specified-height.html b/test/layout/table-intrinsic-height-overrides-specified-height.html
new file mode 100644
index 00000000..24992c6a
--- /dev/null
+++ b/test/layout/table-intrinsic-height-overrides-specified-height.html
@@ -0,0 +1,8 @@
+<table>
+<tr>
+<td height=1>
+test
+</tr>
+<tr>
+<td>
+test