diff options
| author | bptato <nincsnevem662@gmail.com> | 2024-12-10 16:39:46 +0100 |
|---|---|---|
| committer | bptato <nincsnevem662@gmail.com> | 2024-12-10 16:39:46 +0100 |
| commit | 8159cf5e126c1dcac56625aa02a4f463c1262b42 (patch) | |
| tree | 340e69136ca90f9994761819d4d1671e09b699a2 /test | |
| parent | 5f3158ea5ec059d8bfeffb7e4423126cf4e37ead (diff) | |
| download | chawan-8159cf5e126c1dcac56625aa02a4f463c1262b42.tar.gz | |
layout: override table cell width if its min width is greater
We can do this now that xminwidth is more accurate.
Diffstat (limited to 'test')
| -rw-r--r-- | test/layout/table-cell-intrinsic-min-width-overrides-specified-width.expected | 4 | ||||
| -rw-r--r-- | test/layout/table-cell-intrinsic-min-width-overrides-specified-width.html | 11 |
2 files changed, 15 insertions, 0 deletions
diff --git a/test/layout/table-cell-intrinsic-min-width-overrides-specified-width.expected b/test/layout/table-cell-intrinsic-min-width-overrides-specified-width.expected new file mode 100644 index 00000000..f4ee0fc3 --- /dev/null +++ b/test/layout/table-cell-intrinsic-min-width-overrides-specified-width.expected @@ -0,0 +1,4 @@ + + test test test test + 2 + test diff --git a/test/layout/table-cell-intrinsic-min-width-overrides-specified-width.html b/test/layout/table-cell-intrinsic-min-width-overrides-specified-width.html new file mode 100644 index 00000000..0d798c31 --- /dev/null +++ b/test/layout/table-cell-intrinsic-min-width-overrides-specified-width.html @@ -0,0 +1,11 @@ +<table style="width: 5ch"> +<td width=1%> +<pre> +test test test +</pre> +<div> +test +</div> +</td> +<td> +test 2 |