about summary refs log tree commit diff stats
path: root/test/layout
diff options
context:
space:
mode:
Diffstat (limited to 'test/layout')
-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>