diff options
author | Yuri Kobets <yuri.kobets@gmail.com> | 2023-04-28 03:12:46 +0300 |
---|---|---|
committer | Yuri Kobets <yuri.kobets@gmail.com> | 2023-04-28 03:12:46 +0300 |
commit | 0dd4b4870931952e316e26d9e6a23eac97cdc644 (patch) | |
tree | ba5d249da6a0d6af25d4f8f45817d280fcdba7ec /test/render | |
parent | dea6f7fad5abe3b1b3e7b8d6e6c64b7c67187865 (diff) |
fixed table rendering with width defined as percent
Diffstat (limited to 'test/render')
-rw-r--r-- | test/render/test21.htm (renamed from test/render/-test21.htm) | 2 | ||||
-rw-r--r-- | test/render/test21.htm.png | bin | 0 -> 225 bytes | |||
-rw-r--r-- | test/render/test26.htm | 16 | ||||
-rw-r--r-- | test/render/test26.htm.png | bin | 0 -> 1250 bytes |
4 files changed, 17 insertions, 1 deletions
diff --git a/test/render/-test21.htm b/test/render/test21.htm index 7e2d7c9e..1d7c3638 100644 --- a/test/render/-test21.htm +++ b/test/render/test21.htm @@ -1,7 +1,7 @@ <table style="background-color: red; width: 300px"> <tr> <td> - <table style="margin:0.5em auto"> + <table style="margin:0.5em auto; background-color: lightcoral"> <tr> <th> Lorem ipsum diff --git a/test/render/test21.htm.png b/test/render/test21.htm.png Binary files differnew file mode 100644 index 00000000..52b2d46b --- /dev/null +++ b/test/render/test21.htm.png diff --git a/test/render/test26.htm b/test/render/test26.htm new file mode 100644 index 00000000..5c81498e --- /dev/null +++ b/test/render/test26.htm @@ -0,0 +1,16 @@ +<style> + table { + border: none; + background-color: green; + } +</style> + +<div style="width: 400px; border: 5px solid black"> + <table style="width: 100%; border: none; background-color: red"> + <tr> + <td> + Duis rutrum nibh vestibulum finibus luctus. Sed ac gravida urna. Phasellus at est ut augue interdum condimentum. Nunc scelerisque, ligula a feugiat aliquet, est enim pulvinar nunc, at feugiat velit quam vel leo. + </td> + </tr> + </table> +</div>
\ No newline at end of file diff --git a/test/render/test26.htm.png b/test/render/test26.htm.png Binary files differnew file mode 100644 index 00000000..1dbb335f --- /dev/null +++ b/test/render/test26.htm.png |