diff options
author | bptato <nincsnevem662@gmail.com> | 2024-05-05 00:35:12 +0200 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2024-05-05 00:53:33 +0200 |
commit | af8f0d6b5ffacff077cbcead581379c532876fa4 (patch) | |
tree | 417f22f0909ece426a28d3a7cd820003a6ce2367 /test | |
parent | c06bc25969bc428c3b2a32ee87525737cb5fef9f (diff) | |
download | chawan-af8f0d6b5ffacff077cbcead581379c532876fa4.tar.gz |
layout: table cell resizing fixes
Diffstat (limited to 'test')
-rw-r--r-- | test/layout/table-col-width.color.expected | 9 | ||||
-rw-r--r-- | test/layout/table-col-width.html | 19 |
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 @@ + [48;2;255;0;0mtest[49m + [48;2;255;0;0ma [49m + [48;2;255;0;0mtest [49m + [48;2;255;0;0ma [49m + [48;2;255;0;0mtest [49m + [48;2;255;0;0ma [49m + [48;2;255;0;0mtest [49m + [48;2;255;0;0ma [49m + 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> |