about summary refs log tree commit diff stats
path: root/test
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-05-05 00:35:12 +0200
committerbptato <nincsnevem662@gmail.com>2024-05-05 00:53:33 +0200
commitaf8f0d6b5ffacff077cbcead581379c532876fa4 (patch)
tree417f22f0909ece426a28d3a7cd820003a6ce2367 /test
parentc06bc25969bc428c3b2a32ee87525737cb5fef9f (diff)
downloadchawan-af8f0d6b5ffacff077cbcead581379c532876fa4.tar.gz
layout: table cell resizing fixes
Diffstat (limited to 'test')
-rw-r--r--test/layout/table-col-width.color.expected9
-rw-r--r--test/layout/table-col-width.html19
2 files changed, 28 insertions, 0 deletions
diff --git a/test/layout/table-col-width.color.expected b/test/layout/table-col-width.color.expected
new file mode 100644
index 00000000..7e556aa8
--- /dev/null
+++ b/test/layout/table-col-width.color.expected
@@ -0,0 +1,9 @@
+ test
+ a   
+ test 
+ a    
+ test 
+ a    
+ test 
+ a    
+
diff --git a/test/layout/table-col-width.html b/test/layout/table-col-width.html
new file mode 100644
index 00000000..a27bb530
--- /dev/null
+++ b/test/layout/table-col-width.html
@@ -0,0 +1,19 @@
+<table>
+<tr><td bgcolor=red>test</td></tr>
+<tr><td bgcolor=red>a</td></tr>
+</table>
+
+<table>
+<tr><td bgcolor=red style="width: 5ch">test</td></tr>
+<tr><td bgcolor=red>a</td></tr>
+</table>
+
+<table>
+<tr><td bgcolor=red>test</td></tr>
+<tr><td bgcolor=red style="width: 5ch">a</td></tr>
+</table>
+
+<table>
+<tr><td bgcolor=red style="width: 1ch">test</td></tr>
+<tr><td bgcolor=red style="width: 5ch">a</td></tr>
+</table>